<Wiremock stubbing for querys with list values (pr...
# stackoverflow
r
Wiremock stubbing for querys with list values (programmatical, java) I have no problem with stubbing request with several query parameters in wiremock. But when one or many of them are required to be in format ?name=value1&name=value2&name=value3 I get stumped. I was hoping that I get to add the same parameter to builder several times but it seems It will only get the last one. Is there some other methods in addition to withQueryParam or withQueryParams or can I use them somehow differently? Example snippet of code myStub(Long companyId, List personIds){ ......