Forum Discussion

alpanhell's avatar
alpanhell
Occasional Contributor
14 years ago

proper way to sleep

I was just wondering if there is a proper way to do a sleep/pause while within a Groovy script in a TestCase?

I'm using Thread.currentThread().sleep(1000) but I'm guessing that some weird behaviour I'm seeing is caused by using this. I'm seeing where I can't stop a TestCase and have to restart soapui.
No RepliesBe the first to reply