Forum Discussion

jsreesoap's avatar
jsreesoap
Contributor
12 years ago

How to stop execution when it gets out of loop

// run ten random requests for( i in 1..10 ) { if( Math.random() > 0.5 ) testRunner.runTestStepByName( "Request 1") else testRunner.runTestStepByName( "Request 2") } // do ...