Running Scenarios Overview

After planning, designing and scheduling your scenario, you run it to create load on your application and to test its performance.

Before run

When running a manual scenario in Percentage mode, you can change the way LoadRunner loads the Vusers. By default, when running a group assigned to use All Load Generators, the Controller calculates the number of Vusers per load generator, and ramps up all Vusers, one load generator after another. If the initialization section uses a lot of resources, this may affect the performance on the load generators. LoadRunner allows you to distribute the Vusers in a round-robin fashion.

  • For Vusers in groups configured to use All Load Generators LoadRunner uses a round-robin method to ramp up the groups between all of the load generators.
  • For all Vusers in a group not configured to run to use All Load Generators, LoadRunner uses a round-robin method to ramp up the Vusers between all of the group’s load generators.

For details on how to enable round-robin ramp up, see How to Run a Scenario.

Start of run

When you instruct LoadRunner to begin the scenario run, the Controller checks the scenario configuration information, invokes the applications that were selected to run with the scenario, and then distributes each Vuser script to its designated load generator. When the Vusers are ready, they start running their scripts.

As the scenario starts, in the Scenario Groups pane you can watch Vusers gradually start running.

During run

During the scenario run, you can see a synopsis of the running scenario in the Scenario Status pane. You can also drill down to see which Vuser actions are causing the application problems.

The Controller's online graphs display performance data collected by the monitors. You use this information to isolate potential problem areas in your system.

End of run

The scenario ends when all the Vusers have completed their scripts, when the duration runs out, or when you terminate it.

At the conclusion of the test run, the Scenario Status pane shows the Down status. This indicates that the Vusers have stopped running.

Back to top