Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Analyzing Threshold Rule Violations in Load Tests Using the Load Test Analyzer

 

Threshold rules are associated with specific performance counters, and violations indicate that a performance counter exceeded or fell below a set value. When you run a load test, you can analyze violations that occur for the threshold rules you set up previously.

If any violations occurred, a threshold violations hyperlink appears on the Load Test Analyzer's status bar and specifies the number of violations that occurred. You choose the hyperlink to display the threshold violations table. You can also view threshold violations in the Counters window, and on the graph:

Requirements

  • Visual Studio Enterprise

The threshold violations table displays the first 1,000 violations. The following table contains these columns:

ColumnDescriptionVisible By Default
TimeThe time during the load test at which the violation occurred.Yes
ComputerThe name of the computer under test on which the violation occurred. Note: This is important when you run load tests on rigs. For more information, see Distributing Load Test Runs Across Multiple Test Machines Using Test Controllers and Test Agents.Yes
CategoryThe category of the performance counter on which the violation occurred.Yes
CounterThe name of the performance counter on which the violation occurred.Yes
InstanceThe performance counter instance on which the violation occurred.Yes
MessageA message that describes the threshold violation. For example, The value 5 exceeds the critical threshold value of 0.Yes
System_CAPS_ICON_note.jpg Note

You can sort the table by choosing the column headers.

For more information, see Analyzing Load Test Results and Errors in the Tables View.

You can view threshold violations in the Counters panel, in the tree that lists the performance counters for your load test. Icons in the Counters panel communicate threshold violations. The icon will be one of the following:

The icon will be one of the following:

No threshold violation No threshold violation.

A critical threshold violation on last interval A critical threshold violation occurred on the last interval.

A critical threshold violation on a prior interval A critical threshold violation occurred on a prior interval.

A warning threshold violation on the last interval A warning threshold violation occurred on the last interval.

A warning threshold violation on a prior interval A warning threshold violation occurred on a prior interval.

Optionally, threshold violations can be shown on the graph also. The threshold icon appears on the graph next to the data point where the threshold violation occurred.

In the counter tree, the icon for a threshold violation is propagated from the specific counter node, up to the root node. This alerts you to a violation on a counter that may not be visible in the tree because the tree has not been expanded.

For more information, see Using the Counters Panel in Graphs View and Tables View.

You can view threshold violations on the graph. Similar to the Counters panel, icons communicate threshold violations on the graph. The icons appear on the graph next to the data point where the threshold violation occurred. If a threshold violation occurs on a counter that does not appear on the graph, you can add it to the graph by dragging it from the Counters panel to the graph.

For more information, see Analyzing Load Test Results in the Graphs View.

Specifying the Counter Sets and Threshold Rules for Computers in a Load Test
Analyzing Load Test Results
Analyzing Load Test Results and Errors in the Tables View

Show: