Hello, I am looking for a little bit of help with...
# general
a
Hello, I am looking for a little bit of help with request matching. We are trying to set a mock that strictly matches one parameter is supplied with multiple values.
Copy code
<http://example.com/path?id=1&id=2&id=3|example.com/path?id=1&id=2&id=3>
For this URL we only want a response if the
id
parameter is supplied 3 times with each distinct value. The order is not important and could change. I have seen some github issues about this which suggest it is implemented but I cannot find the relevant docs
t
Hi Adam, there are some match operators specifically for this use case. Documented here: https://wiremock.org/docs/request-matching/#matching-headerquery-parameter-containing-multiple-values
a
Wonderful - thank you. Not sure how i missed that in the docs
t
We’re working on improving their layout 🙂