Make it possible to stop groovy script execution
For now there is no possible way to stop a groovy script from executing. If you create an infinite loop for example the application will crash in no time giving you no other option but to stop ReadyApi and start it all over again.
This happened to me a few times and it's pretty annoying.
Have you tried the following code:
testRunner.cancel( "I'm getting tired" )
if you want to fail it use
testRunner.fail( "It didn't work" )
Hey, that's not gonna work.
The problem is that if you make a mistake and you create a big/ infinite loop there is no way to stop the execution of the script. Once you started it you can just wait for ReadyApi to crash...
Yes for supppose someone haven't use foloowing:
try and catch block or
then there is no mechanism by which i can stop the execution of Groovy Step.
There must be a stop button by which i cant stop the execution at any time .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.