Showing results for 
Search instead for 
Did you mean: 

Controlling the storage/execution order of a data sink value

Regular Contributor

Controlling the storage/execution order of a data sink value

In SoapUI NG I have a situation where I am making a request to a service, where one of the response parameters is the input for another test. This would appear to be a very standard thing to want to do. The situation is this: I have 2 tests, both of them consist of a request step and a data source loop. Test 1 generates data that is used in Test 2. So I can use a Data Sink to capture the response parameter in question. This data sink is then the data source for Test 2. But crucially, the order of execution is important. The data sink will store the output as it is generated. ie value 1, value 2, value 3. But when this is used as a data source for Test 2, I want to execute it in a different order value 2, value 3, value 1. Either that, or I need to be able to store it in the correct order in the first place. How do I achieve this?

New Here?
Join us and watch the welcome video:
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!

Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors