How to: Add Scenarios to a Load Test

A scenario is used to model how a group of users interacts with a server application. A scenario consists of a load pattern, a test mix, a browser mix, and network mix. A load test can have more than one scenario and a single scenario can contain Web tests and unit tests. By grouping similar settings together, a scenario lets you to group and run tests of a similar nature together.

You create scenarios as you step through the Load Test Wizard. However, any of the settings that you enter in the Load Test Wizard can be modified in the Load Test Editor after the wizard is finished. The Load Test Editor allows you to modify an existing scenario, or to add new scenarios to the load test.

Tip

For more information about how to create a load test by using the Load Test Wizard, see Creating Load Tests.

To add a scenario to a load test

  1. Open a load test.

  2. In the Load Test Editor, right-click the load test and then click Add Scenario.

    The Add Scenario Wizard appears. The Add Scenario Wizard is a subset of the New Load Test Wizard you used to create your load test. It contains default values for many of the scenario’s settings. You can keep these default values or change them to values more appropriate for the purposes of your load test.

  3. (Optional) In each page of this wizard, you specify details about how you want this scenario to run. For example, specify the load pattern, test mix, browser mix, and network mix. For more information, see About Scenarios.

  4. Click Finish when you are finished making changes.

    The scenario’s settings are saved. You can view individual settings of existing scenarios in the Load Test Editor, where you can also make changes without using the Add Scenario Wizard.

See Also

Tasks

How to: Specify Scenarios

How to: Specify Load Patterns

How to: Specify Test Mix

How to: Specify Browser Mix

How to: Specify Network Mix

Concepts

About Scenarios

Other Resources

Creating Load Tests