ptrindade
3 years agoOccasional Contributor
Soapui - Groovy continue loop
Hello! Trying to implement something like this cycle: DataSource Request 1 - if response has property x = 1 , go to request 2 and continue loop flow - if response has property x = 2, go to r...
- 3 years ago
Hi
Try....
testRunner.gotoStepByName("The Step Name");
You may need some additional logic to not run Step3 if Step2 has ran, but with at above method, you should be able to work something out.
- 3 years ago
I believe ChrisAdams 's suggestion should work.
Please make sure you are executing the tests on the test case level. If you only execute a single step, the execution flow will not continue.
Regards,
Karel