mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Is this compatible with WireMock? #408
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bfrggit on GitHub (Feb 19, 2022).
Originally assigned to: @StefH on GitHub.
Is this compatible with WireMock (https://wiremock.org/)? Briefly, I just replaced my Docker Compose's ref to the latter's image to this image and it does not pick up the mapping files I mounted to container.
My team has a cluster that uses this (WireMock.Net), however my service is Java and was using WireMock (org) and its Java SDK. If this is not compatible, does this have a Java SDK?
@StefH commented on GitHub (Feb 19, 2022):
Hello @bfrggit,
There is some limited support for the mapping from WireMock.org
See also these links:
However it could be that your mapping does not work yet.
Please post the full mapping file here.
@bfrggit commented on GitHub (Feb 19, 2022):
@StefH The examples you show in the links look promising. However, before testing with the actual payload, we'd like to know if the following features are there or if WireMock.Net plans to stay consistent with WireMock.org --
@bfrggit commented on GitHub (Feb 19, 2022):
No longer urgent since we got a green light to also deploy WireMock.org in test cluster. However, if WireMock.Net is fully compatible (or is a super set of) WireMock.org it would still be great so we can save some effort hopefully.
@StefH commented on GitHub (Feb 20, 2022):
If you still have time, can you please provide a mapping which you use now for wiremock.org ?
So that I can check if this works and fix the code from wiremock.net to also support that mapping.
@bfrggit commented on GitHub (Feb 23, 2022):
@StefH The truth is that it may or may not be related to mapping itself... Could be just location of the files but I did not spend much time digging into it. I will quickly check it today.
@bfrggit commented on GitHub (Feb 23, 2022):
@StefH However, we'd still like to know if the following features are supported or on the roadmap --
And also, is WireMock.Net supposed to stay consistent with WireMock.org?
@bfrggit commented on GitHub (Feb 23, 2022):
First of all, according to https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching, the JSON payload seems to use UpperCamelCase for property naming but I think WireMock.org uses lowerCamelCase? https://wiremock.org/docs/api/ and the field name is
uuidinstead ofGuid.@bfrggit commented on GitHub (Feb 23, 2022):
Well I tried today but could not figure out where I should put the
mappingsfolder and__filesfolder in the container (Linux) to let it pick them up automatically. Will stop trying until I hear from you about the features above.@StefH commented on GitHub (Feb 26, 2022):
Should work / same
Not 100% compatible and no plans to keep it compatible because Java and C# are different
Java SDK, or if it is compatible with the WireMock.org Java SDK, which means the APIs must be consistent.
And also, is WireMock.Net supposed to stay consistent with WireMock.org?
Well I tried today but could not figure out where I should put the mappings folder and __files folder in the container (Linux) to let it pick them up automatically. Will stop trying until I hear from you about the features above.
--> https://github.com/WireMock-Net/WireMock.Net-docker/wiki/Docker-Compose
I hope this answers your questions.