Bagikan melalui


Creating Additional Scenarios for an Existing Load Test

You create scenarios as you step through the New Load Test Wizard. However, any of the settings that you enter in the New Load Test Wizard can be modified in the Load Test Editor after the wizard is finished. The Load Test Editor lets you 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 New Load Test Wizard, see Creating Load Tests Using the New Load Test Wizard.

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 performance tests and unit tests. By grouping similar settings together, a scenario lets you group and run tests of a similar nature together.

Adding a scenario to a load test

Requirements

  • Visual Studio Ultimate

Adding a Scenario to a Load Test

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 choose 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 Editing Load Test Scenarios Using the Load Test Editor.

  4. Choose 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

Other Resources

Editing Load Test Scenarios Using the Load Test Editor

Editing Load Test Scenarios Using the Load Test Editor

Creating and Editing Load Tests

Editing Load Patterns to Model Virtual User Activities

Editing Text Mix Models to Specify the Probability of a Virtual User Running a Test

Editing the Test Mix to Specify Which Web Browsers Types in a Load Test Scenario

Specifying Virtual Network Types in a Load Test Scenario