https://linen.dev logo
#help
Title
# help
v

Vamsh S

07/27/2023, 12:36 PM
Wiremock - don't try to match closet stub but instead log
missing stub
etc kind of error and continue <-- is there any configuration/setting that can enable this
t

Tom

07/27/2023, 1:07 PM
WireMock will only serve a response from an exactly matched stub. It won’t match the closest only tell you which one that is in the diff report.
v

Vamsh S

07/27/2023, 1:14 PM
i was refering to Request was not matched ======================= ----------------------------------------------------------------------------------------------------------------------- | Closest stub | Request | ----------------------------------------------------------------------------------------------------------------------- | retail-esl-liteship_liteship_getvirtualbasketshipcosts | so the above is from diff report
t

Tom

07/27/2023, 1:22 PM
You see this report when WireMock can’t continue any further because it has run out of stubs to attempt to match against. If you don’t want to see this message you can add a low-priority stub that matches all methods and URLs with your own 404 message, then this will always be matched.
41 Views