Forum Discussion

larryx's avatar
larryx
Frequent Contributor
11 years ago

[Resolved] exit for loop in Groovy

Hello,
In Groovy there is for loop syntax as below.
for (int i=0; i<10; i++){
//do sth
if (condition){
break;
}
}
However, the above code not work if run in soapui. Is anyway to exit loop in groovy-soapui?
Thanks,
Larry