How to: Add Web Performance, Unit and Coded UI Tests to a Load Test Scenario Using the Load Test Editor
This topic applies to:
Visual Studio Ultimate
Visual Studio Premium
Visual Studio Professional
Visual Studio Express
A load test contains one or more scenarios, each of which contains one or more Web performance, unit, or coded UI tests in a test mix. The tests that are included in a scenario should reflect the objectives of that scenario.
Adding New Tests to a Test Mix in an Existing Scenario
When you create a new scenario by using the New Load Test Wizard, you can specify the Web performance and unit tests to add to the test mix of the new scenario. For more information, see How to: Create a Test Mix in the New Load Test Wizard.
You can add more Web performance and unit tests to the text mix of the scenario by using the Load Test Editor.
To add more tests to an existing scenario
Open a load test.
In the Load Test Editor, right-click an existing scenario and then click Add Tests.
The Add Tests dialog box is displayed. All Web performance, unit, and coded UI tests in your solution that are not already in your scenario are available to add to the scenario.
In the Available tests pane, select the Web performance, unit, and coded UI tests that you want to add. Click the right arrow to add the tests to the Selected tests pane.
When you finish adding tests, click OK.
The tests are added to the test mix. A new distribution is assigned automatically to the tests in the test mix.