nim13
12 years agoOccasional Contributor
how to run two test steps async?
Hi
I currently have a little problem with soapui. I have a standard set of test steps which all work great. Now, I also need to check a 2nd server async and use the response from that server in my other test steps.
So to break it down a bit, it looks like that:
1. request to server2, wait for reply
2. request to server1 -> 200
2. request to server1 -> 200
....
now at some point, a request which is made to server1 will trigger server2 to respond to the initial request. I take that response and parse it etc. My problem is, that SoapUi does always wait for a previous step to finish. I already tried to create a new thread with groovy which should handle the requests to server2, but the test suite also waits for that request to reply. How can I implement an independent test step which does not cause the whole suite to wait?
best regards,
nim
I currently have a little problem with soapui. I have a standard set of test steps which all work great. Now, I also need to check a 2nd server async and use the response from that server in my other test steps.
So to break it down a bit, it looks like that:
1. request to server2, wait for reply
2. request to server1 -> 200
2. request to server1 -> 200
....
now at some point, a request which is made to server1 will trigger server2 to respond to the initial request. I take that response and parse it etc. My problem is, that SoapUi does always wait for a previous step to finish. I already tried to create a new thread with groovy which should handle the requests to server2, but the test suite also waits for that request to reply. How can I implement an independent test step which does not cause the whole suite to wait?
best regards,
nim