How to Design a Manual Scenario

This task describes how to design a manual scenario.

1. Prerequisites

  • When designing a manual scenario, plan how you want to distribute the Vusers in the scenario. For more details, see Manual Scenarios.

  • Before you start designing the scenario, record the VuGen scripts that will run in the scenario. For details, see How to Record a Vuser Script.

Back to top

2. Open a scenario, or create a new one

  1. On the main Controller toolbar, click the New Scenario button .

  2. In the New Scenario dialog box, select Manual Scenario.

  3. (Optional) To distribute the Vusers by percentage, select the Use the Percentage mode... option.

  4. Note: You can convert from one scenario mode to another at any time. For details, How to Change the Scenario Mode (Manual Scenario).

  5. (Optional) Select scripts to participate in the scenario. If you do not select the scripts here, you can select them later on.

  6. When you click OK, the scenario opens in the Design tab.

Back to top

3. Add load generators to the scenario

Click the Load Generators button . In the Load Generators dialog box that opens, click Add and enter the details of the load generator you are adding. For details about adding load generators, see Add New Load Generator/Load Generator Information Dialog Box.

4. Add Vuser groups/scripts to the scenario - Vuser group mode

  1. In the Scenario Groups pane, click the Add Group button .

  2. In the Add Group dialog box:

    • Give the group a name and assign a number of Vusers to the group.

    • Select a load generator on which to run the Vusers.

    • Select a Vuser script.

Back to top

5. Add Vuser groups/scripts to the scenario - Percentage mode

  1. Click the Add Group button and select a Vuser script from the list. Repeat this step for all scripts that you want to include inthe test.

  2. In the Scenario Scripts pane's Load Generator column, select load generators on which to run the scripts.

  3. In the Scenario Scripts pane's column, assign a percentage of the total number of Vusers for each script. Assign percentages to the scripts starting with the first script in the table and moving down the list.

Back to top

6. Define a virtual location for the scenario - optional

If you have Network Virtualization installed, click in the Virtual Location column, and select a location. For details, see Network Virtualization Locations.

Back to top

7. Define a schedule for the scenario

Define a schedule by which to run the Vusers in the scenario. For details, see How to Define a Schedule for the Scenario.

Back to top

8. Define service level agreements for the scenario - optional

You can define service level agreements (SLAs) to measure scenario goals over time intervals, or over a whole scenario run. When you later analyze the run using LoadRunner Analysis, this data is compared against the SLAs and SLA statuses are determined for the defined measurements. To define SLAs, see How to Define Service Level Agreements.

Back to top