I need to transfer some values from previous test steps into a query parameter that is a list on the next test step. I am using SoapUI Pro 5.
Example:
I call addCustomer twice and get two IDs for the new customers, say ID=111 and ID=222. I then call a getCustomer method which has a query parameter which is a list of IDs. These are REST methods and the getCustomer URL looks like this:
GET http://myEndpoint.com/customers?ids=111&ids=222
How do I transfer the two IDs from the previous steps into the IDs list of getCustomer? Property Transfer seems to overwrite it and only puts the last ID in the list.
In the Request Properties
, go to Multiple-Value Delimiter
and set one value, lets say comma, then in the actual value you can put comma separeted the values.
In our case ids=111,222
will be transtaled to ids=111&ids=222