Forum Discussion

AKern's avatar
AKern
New Contributor
14 years ago

Unable to specify multiple query parameters for a REST call

I am using soapUI Pro 4.0.1. I have a rest call that I want to use query parameters with. My issue is that I am unable to properly specify multiple values for the query parameter. One of my co-workers is using version 3.6.1 and we are able to do this by checking the 'Disable Encoding' option for the query parameter and separating the values with the | pipe.

So for example, my co-worker is seeing the parameter correctly represented as ?service=service1&service=service2 when he enters the service query parameter in the request as service1|service2. When we try this for me, we see it as ?service=service1|service2. How do I get mine to represent itself like my co-workers?

Thank you.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    version 4.0 introduced a new "Multi-Value Delimiter" property in the bottom left table of properties - this is specified as a regular expression so if you want | to be the delimiter please enter \| as the delimiter.

    Does this help?

    regards,

    /Ole
    SmartBear Software