soapui random delay

Serhiy picture Serhiy · Apr 1, 2011 · Viewed 13k times · Source

How to make a random delay between test steps with soapUI?

Answer

Artem Zankovich picture Artem Zankovich · Apr 3, 2011

Add Groovy Script step before each Request step with the next code that adds 0-9 seconds delay:

sleep(new Random().nextInt(10) * 1000)