Debugging Loadrunner scripts – turn on/off think times while running?

  • Questions
  • Debugging Loadrunner scripts - turn on/off think times while running?
Question ID: 104227
1
0

For debugging purposes, I have a long web(http/html) script that I would like to have ignore think times for the first part of the script on playback, but then enable them when it reaches the section I’m interested in.

Is there a way to do this without commenting out all the think times up to that point?

Maybe a way to programmatically turn on/off think time usage at runtime, or flag certain think times as "valid" just for one run? I would rather not temporarily litter the script with sleep() functions, either.

Thanks.

Marked as spam
Posted by (Questions: 9, Answers: 1)
Asked on September 24, 2010 3:29 pm
9 views
Answers (1)
1
Private answer

In the Virtual User Generator, select Run-Time Settings. Under the General tab there is an option to ignore think times.

When you run a load test using the Controller, you can (again) select Run-Time Settings and make sure this option is enabled to honor think times.

Marked as spam
Posted by (Questions: 0, Answers: 2)
Answered on October 6, 2010 2:37 pm