Amit Kumar
Amit Kumar

Reputation: 285

How to put some delay after certain time interval in load runner?

I am using load runner tool for performance testing. I want to put some delay after certain interval of time like every 5 minutes. Kindly guide me.

Upvotes: 0

Views: 6336

Answers (2)

tk_
tk_

Reputation: 17328

Please use the below code,

sleep(1000*60*5);

Example:

    web_add_cookie(<bla bla bla bla>);

    sleep(1000*60*5);

    web_link(<bla bla bla bla>);

Upvotes: 1

James Pulley
James Pulley

Reputation: 5682

Pacing in run time settings

sleep(300000);

If you are adding a delay to allow a slow server to respond then you are on the wrong path

Upvotes: 0

Related Questions