Manual scenarios
You build a manual scenario by selecting scripts to run, assigning load generators on which to run the scripts, and distributing Vusers to run among the scripts.
You can design a manual scenario using one of the following options:
-
By Number. With this option, each script you select for the scenario is assigned to a Vuser group. This is also called Vuser group mode.
You assign a number of Vusers to each Vuser group that you create. You can instruct all Vusers in a group to run the same script on one or more load generators, or you can assign different scripts and load generators to the various Vusers in a group.
-
By Percentage. With this option, you define a total number of Vusers to be used in the scenario, and assign load generators and a percentage of the total number of Vusers to each script. This is called percentage mode.
After you define which Vuser groups or scripts to run in the scenario, you select or build a schedule by which to run the scenario. For more information, see Schedule manual scenarios.
You can also create Service Level Agreements (SLAs) which are specific goals that you define for your load test scenario. When you run the scenario, LoadRunner Professional gathers and stores performance-related data. When you analyze the run, Analysis compares this data against the SLAs and determines SLA statuses for the defined measurements. For more information, see Service level agreements.
Changing scenario modes
You can convert a scenario from the Vuser group mode to the percentage mode and vice versa.
-
To convert the scenario from Vuser group mode to percentage mode, select Scenario > Convert Scenario to the Percentage Mode.
-
To convert the scenario from percentage mode to Vuser group mode, select Scenario > Convert Scenario to the Vuser Group Mode.
Note: By default, every time you convert from one mode to another, a message appears warning you that scenario and schedule settings may change. To show/hide this warning message, select Scenario > Show Convert Scenario Mode Warning.
The following table describes what happens to the scenario when converting from the one mode to the other:
Convert Vuser group mode to percentage mode
|
If you defined group schedules for the Vuser groups, these settings will be lost. All profiles contain schedule by scenario settings only. For details about scheduling scenarios, see Schedule manual scenarios.
|
Convert Percentage mode to Vuser group mode
|
|
See also: