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 to run in the scenario. For details, see Virtual User Generator Help Center (select the relevant version).

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. Select the scenario mode:

    • By Number. Select this option to assign each script you select for the scenario to a Vuser group (Vuser group mode).

    • By Percentage. Select this option to distribute the Vusers by percentage (percentage mode).

  4. Note: You can convert from one scenario mode to another at any time. For details, 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.

    Note: If a script was created in a version of VuGen that is later than the Controller version, the script may not run. In this case you may be prompted whether to allow the script to run. A notice is added to the Load Generator log.

  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 in the 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 Define a schedule for the scenario.

Back to top

8. Define virtual services for the scenario - optional

If you have Service Virtualization installed, you can add virtual services in place of actual services. For details, see Service Virtualization.

Back to top

9. 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 Analysis, this data is compared against the SLAs and SLA statuses are determined for the defined measurements. To define SLAs, see Define service level agreements.

Back to top