mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Mappings with scenario #235
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 @gregoks on GitHub (Dec 18, 2019).
Hi,
I have the following mappings defined on my wiremock machine:
When I send the following request using POST:
http://wiremock.qa.com:10012/reportsfor some reason its gets routed to the mapping with guid - 51223398-e68e-492a-ba05-0f32c2bc0d45 (mapping with priority 2147483647) and I expect it to be routed to mapping with guid 8ca5daaa-a9c4-4bef-9d6b-62e5b4d16eb5 because its has Priority 1.
If I remove the scenarios from the mapping then it does get routed to the mapping that I want.
here is the request log:
Do you have any idea why it caught the wrong mapping? Have I configured something wrong?
@StefH commented on GitHub (Dec 24, 2019):
Could it be related to the
WildcardMatcheryou define? (The IgnoreCase differs?)Can you just try:
For all 3 mappings?
(No need to define a
*)@StefH commented on GitHub (Feb 25, 2020):
@gregoks Can this issue be closed?
@StefH commented on GitHub (Apr 26, 2020):
Closing...