Dela via


How to: Modify the Run Settings Properties in a Load Test Using the Load Test Editor

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic does not apply Topic does not apply Topic does not apply

The run settings of a load test determine a variety of other settings, including 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 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 only use one run setting at a time and must specify which run setting to use by marking it as active. For an example, see How to: Select the Active Run Setting for a Load Test.

Changing Run Settings

To change run settings

  1. Open a load test.

  2. Expand the Run Settings folder.

  3. Click a Run Settings node.

  4. On the View menu, click Properties Window.

    The Properties Window is displayed and the properties for the selected run setting are displayed.

  5. 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.

    Note

    For a full list of the run settings properties and their descriptions, see Load Test Run Setting Properties.

  6. When you are finished changing properties, on the File menu click Save to save your load test.

Note

Counter set mappings are also a part of run settings. For more information, see Specifying the Counter Sets for Computers in a Load Test.

See Also

Tasks

How to: Add Additional Run Settings to a Load Test

How to: Create Run Settings in the New Load Test Wizard

Concepts

Load Test Run Setting Properties

Other Resources

Configuring Load Test Run Settings