Ask a Question

proper way to sleep

alpanhell
Occasional Contributor

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.
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: