Dela via


How to: Manage 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 about how to use remote machines in your load test, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents.

Managing counter sets involves choosing the set of computers you want to collect performance data from, and assigning a set of counter sets to collect from each individual computer. You manage your counters in the Load Test Editor.

Managing Counter Sets

To manage counter sets

  1. Open a load test.

  2. Click the Manage Counter Sets button.

    – or –

    Right-click Counter Sets folder in the load test tree and choose Manage Counter Sets.

    The Manage Counter Sets dialog box is displayed.

  3. (Optional) In the Selected computers and counter sets will be added under the following run settings list box, select a different run setting.

    Note

    This only applies if you have more than one run setting in your load test.

  4. (Optional) Click Add Computer to add a new computer to monitor. You will be prompted for a name. Type the name of a computer, and you will see nodes below the new entry. For example ASP.NET, IIS, SQL, and others. Select the check boxes in front of the nodes you want to select. The new counters appear in the Preview selections pane.

  5. (Optional) In the Computer Tags text box, type a tag to associate with the computer. For example, "TestMachine12 in lab3".

    Computer tags let you identify a computer with an easy-to-recognize name.

    The tags are displayed in the Counter Set Mappings node in the tree in the Load Test Editor. More important, the tags are displayed in Excel reports, which help stakeholders identify what role the computer has in the load test. For example, "Web Server1 in lab2" or "SQL Server2 in Phoenix office". For more information, see Reporting Load Tests Results for Test Comparisons or Trend Analysis.

  6. Click OK.

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

Other Resources

Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents