kenm
7 years agoContributor
How to abort ALL current running testcases via Groovy
Good morning fellow SoapUIers,
Is it possible to abort the current entire execution via a groovy script?
In my tests I basically have an async operation in setup I need to wait for it to complete and it'll retry a defined number of times before it's deemed a failure. What I would like to do, in the even that this fails, is abort the entire execution rather than pushing onto the subsequent test cases/test suites.
Is this possible. I just see testRunner.fail and testRunner.cancel available to me which both won't do what I require as I understand?
Appreciate any help in advance.
Thanks guys,
Ken.