Problem recorded requests dont match -- Wiremock standalone record/playback

94 views
Skip to first unread message

Adnane

unread,
Apr 18, 2017, 12:22:11 PM4/18/17
to wiremock-user
Hello all,

I am using Wiremock as standalone api for record/playback our external http systems, actually all the record part is successful, but when i try to replay the recorded requests (including some big json files) i always have a non matching request response from wiremock with our recorded request as a closest matching. It looks that the matching should be 100% but i would like to know how can it tolerate some differences, kind of 70% or 80% matching ?
How can i accept the closest match as the correct match request when launching wiremock playback standalone process  ?

Thank you in advance for your help.
Best regards,
Adnane

Tom Akehurst

unread,
Apr 18, 2017, 1:29:06 PM4/18/17
to wiremock-user
I suggest posting an example of a stub and a request that aren't matching.

There has to be a 100% match for it to return the stub, but by default recorded stubs will only attempt to match on URL, method and request body if there is one.
Reply all
Reply to author
Forward
0 new messages