Ask a Question

How to add delay (request interval ) after each REST request?

SOLVED
wjs2634
New Contributor

How to add delay (request interval ) after each REST request?

How to add delay (request interval )  after each REST request?

I want soapui Pro to delay for some ms between each REST request? Is there anyway to config an interval time?

1 ACCEPTED SOLUTION

Accepted Solutions
Olga_T
Moderator

Re: How to add delay (request interval ) after each REST request?

Hi,

 

Thanks for your assistance, guys!

 

@wjs2634 did the suggestions above help you solve the issue? 

 


Olga Terentieva
SmartBear Assistant Community Manager

View solution in original post

3 REPLIES 3
Lucian
Community Hero

Re: How to add delay (request interval ) after each REST request?

There is a delay test step available in ReadyApi. Does that not work for you?

 

btw the delay value is in milliseconds (so for instance 5000 would mean 5 seconds)...



If my answer helped please click on the 'Accept as Solution' button.
HimanshuTayal
Community Hero

Re: How to add delay (request interval ) after each REST request?

Add a Script assertion and write :

 

thread.sleep(1000)

 

Here 1000 is milisecond, so 1000 mean 1 second.

 

Click "Accept as Solution" if my answer has helped, and remember to give "kudos" 🙂

 

Thanks and Regards,

Himanshu Tayal


Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
Olga_T
Moderator

Re: How to add delay (request interval ) after each REST request?

Hi,

 

Thanks for your assistance, guys!

 

@wjs2634 did the suggestions above help you solve the issue? 

 


Olga Terentieva
SmartBear Assistant Community Manager

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: