Forum Discussion
rf
11 years agoOccasional Contributor
Well, it is related to the SOAPUI-TOOL. But I do feel the need to clarify my question. If I in a groovy-script start an infinite for-loop (or while-loop). Is there a way to kill the loop manually withou exiting SOAPUI. Sorry for any mispellings, I wrote this on my phone :-(
nmrao
11 years agoCommunity Hero
I humbly disagree with your comment as that was just related to programming language, not sopaui, in fact not even touchin any soapui's api.
Any way, did you read the previous reply which has pointers how to do it?
Any way, did you read the previous reply which has pointers how to do it?
- rf11 years agoOccasional Contributor
You seem to misunderstand me here. I do know how a for-loop works (also do/while-loops). However in some cases one misses on the arguments, e.g. try typing for( ; ; ){ log.info( "HELLO WORLD!") } in a groovy-script in SoapUI. "HELLO WORLD!" will written in the log forever if you don't abort the loop manually. My question was, is there any way of doing this (aborting the loop) in SoapUI NG without killing the entire SoapUI process. E.g. an infinite loop can be canceled using ctrl+c when run in the command prompt.