How to: Add Additional Run Settings to a Load Test
This topic applies to:
Visual Studio Ultimate
Visual Studio Premium
Visual Studio Professional
Visual Studio Express
The run settings of a load test determine a variety of other settings. These include the duration of the test, results collection detail level, and the counter sets that are collected when the test runs. You can create and store multiple run settings for each load test, and then select one particular setting to use when you run the test. An initial run setting is added to your load test when you create your load test by using the New Load Test Wizard. For more information, see How to: Create Run Settings in the New Load Test Wizard.
You can add more run settings to your load test with different property settings so that you can run the load test under different conditions. For example, you can add a new test setting and use a different sample rate, or specify a longer run duration. You can use only one run setting at a time and must specify which run setting to use by marking it as active.
To add another run setting
Open a load test.
(Optional) Expand the Run Settings folder.
Right-click the Run Settings folder and select Add Run Settings.
A new run setting is added to the Run Settings folder.
On the View menu, click Properties Window.
The Properties window is displayed with the properties for the selected run setting.
In the Properties window, use the text box for the Name property to give the new run setting a name that describes the intent of the run setting (for example, Run Setting: Five minute run).
Use the Properties window to change the run settings. For example, change the run duration to 00:05:00 to run your test for five minutes.
For a full list of the run settings properties and their descriptions, see Load Test Run Setting Properties.
You can now specify that you want to use the added run setting by setting it to active. For more information, see How to: Select the Active Run Setting for a Load Test.