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 the run
When running a manual scenario in Percentage mode, you can change the way LoadRunner Professional loads the Vusers. By default, when running a group assigned to use All Load Generators, 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 Professional allows you to distribute the Vusers in a round-robin fashion.
- For Vusers in groups configured to use All Load Generators, LoadRunner Professional 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 Professional 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 Run a scenario.
Start of the run
When you instruct LoadRunner Professional to begin the scenario run, 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 the 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.
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 the 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.