How to make a random delay between test steps with soapUI?
Add Groovy Script step before each Request step with the next code that adds 0-9 seconds delay:
sleep(new Random().nextInt(10) * 1000)
Exactly what you're looking for is the following.
Instead of filling a fixed number i.e. 500ms, use this expresion
${=(int)(Math.random()*10000)}
And change the 10000 with the multiplier that best suits your test.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With