How to: Insert Additional Scenarios to an Existing Load Test
This topic applies to:
Visual Studio Ultimate |
Visual Studio Premium |
Visual Studio Professional |
Visual Studio Express |
---|---|---|---|
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 How to: Create a New Load Test 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 to group and run tests of a similar nature together.
To add a scenario to a load test
Open a load test.
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.
(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.
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: Create a Load Pattern in the Load New Test Wizard
How to: Create a Test Mix in the New Load Test Wizard
How to: Create a Browser Mix in the New Load Test Wizard
How to: Create a Network Mix in the New Load Test Wizard