Forum Discussion

PKaskiewicz's avatar
13 years ago

SOAPUI HELP - Running test steps 'simultaneously'

I have a sequence of test steps but one of the test steps polls for a response(step A), it gets this response from the NEXT test step(step B).

Current work around is splitting the sequence into two separate test cases running in parallel in the same suite. The first case ending at A and the second starting with a Delay and then step B (so that B is run once the first test case reaches step A). But this is not optimal.

Is there a way to either have test step A and test step B run simultaneously? I have seen code for running testcases simultaneously, but can't seem to find anything useful at the test step level. Or can I make it so the second test case runs as soon as Step A in the first test case begins (rather than when it finishes [if not running in parallel])?
  • Hi!

    Well, I don't think there's an easier way to solve this which doesn't include Groovy Scripting, which is in it self a bit complicated.
    The MockResonse TestStep is mainly used for external calls (see http://www.soapui.org/SOAP-and-WSDL/tes ... vices.html), which obviously make's it a bit tricky calling it from within soapUI in the same test run.

    Regards
    ---
    Erik, SmartBear Support