Wednesday, December 4, 2013

How to run a scenario at a specific time in load runner controller

If you want to run a scenario in controller automatically then use scenario scheduler of Controller or Windows Scheduler

1.Using Scenario Scheduler of Controller:

Open the scenario in the Controller.

Go to Design Tab - Edit Schedule - Scenario Start time 

and set the time when you want to start the scenario.You need to click on Start Scenario button so that the Controller can trigger the scenario once the start time comes up.
2.Using Windows Scheduler:

Scenario Scheduler of Controller is limited to the effect that it can only be sheduled to be run at one time. In order to re-run it the scenario has to be edited again.  you can do the following also:
  • You can have the scenario run from command line in a batch file.
  • Then you schedule this batch file to run at different times from the Windows Scheduler.