moofatech
7 years agoNew Contributor
How can I duplicate parameters?
Hi there, I'm not sure this has been raised before but I thought I'd ask anyway. I'm trying to run a GET request that represents a filter that can have two or more values passed to it. The url ...
- 7 years ago
This answer should work
https://community.smartbear.com/t5/SoapUI-Pro/Res-duplicate-properties-in-REST-request/td-p/39318
To summarize:
- in Resource or in Method, add parameter (use style = QUERY)
- select parameter and enable "Disable Encoding" at bottom of page
- in Request, select parameter and set Multi-Value Delimiter to \| in bottom-left properties section
- set a value of, e.g., 1|2|3 for the parameter (can use DataGen)
- request will be sent out with, e.g., parameter=1¶meter=2¶meter=3