How to: Add Custom Counter Sets 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

When you create a load test with the New Load Test Wizard, you add an initial set of counters. These offer you a set of predefined counter sets for your load test. For more information, see How to: Create Counter Sets in the New Load Test Wizard.

Note

If your load tests are distributed across remote machines, controller and agent counters are mapped to the controller and agent counter sets. For more information on using remote machines in your load test, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents.

You manage your counters in the Load Test Editor. The counter sets that are already added to the test are visible in the Counter Sets node of the load test. After you create a Load test, you can add new custom counter sets to it.

Custom Counter Set

Custom Counter Set

To add a custom counter set to a Load Test

  1. Open a load test.

  2. Expand the Counter Sets node. All the counter sets that have been added to the load test are visible.

  3. Right-click the Counter Sets node and select Add Custom Counter Set.

    Note

    The counter set is given a default name, such as Custom1. You can change the name by using the Properties window. Press F4 to display the Properties window.

  4. To add counters to your custom counter set, right-click the new counter set and then click Add Counters. For more information about how to add counters, see How to: Add Counters to Counter Sets Using the Load Test Editor.

    Note

    It is also possible to add a custom counter set by right-clicking an existing counter set, clicking copy, and then pasting it to the counter sets node. Additional counters that are copied, but not needed, can be deleted. You can change the name of the new counter set by using the Properties window.

See Also

Tasks

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

Concepts

Specifying the Counter Sets for Computers in a Load Test

Specifying the Counter Sets for Computers in a Load Test