This message was deleted.
# general
s
This message was deleted.
t
Hi Terry, are you actually calling
withQueryParam(…)
twice on one stub for the same parameter name? That won’t work - the second call will overwrite the first. If you create two separate stubs that are the same but with different values inside
equalTo(…)
I think this will do what you’re looking for.
t
The endpoint is supposed to look similar to this /id=111&id=222 /id=111,222 I didn't know how to go about simulating multiple query parameter of the same name
t
Do you need to say id must = 111 AND id must = 222 for the match to happen? If so, this isn’t possible at the moment, but there is a PR in the works to make it so. If just the 222 value on its own is enough however, you can just specify that and it’ll match even if it’s not the only value of id.
t
Awesome, that's understandable. I think I'll try to use a work around to get by. Thank you for helping me out!
t
No worries!