Hello ! I have a quick question about recording an...
# help
a
Hello ! I have a quick question about recording and replay back: • If Wiremock records a GET call with query parameters, will it be able to retrieve the right stubs during replay no matter the order of query parameters (
url?query1=true&query2=true
matching
url?query2=true&query1=true
) or its values (
url?query=1,2,3
matching
url?query=3,2,1
) ? Or will I need to define custom matchers by implementing
StubMappingTransformer
? I am guessing if I have to do this, I will have to remove query parameters from the url as well (using
StubRequestFilter
for instance), for Wiremock to be able to match url. WDYT ?
Alternatively, would it be possible to add `RequestPatternBuilder.withUrlPath()`as a method to build a new request from a requestpattern ? I want to record
urlPath
instead of
url
and I cannot find a way of doing this instead of defining my own
StubMappingTransformer