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:
Analyzing Threshold Violations in the in Tables View
Analyzing Threshold Violations in Graphs View
Analyzing Threshold Violations Using The Counters Panel
- Visual Studio Enterprise
Viewing Threshold Violations in the Table
The threshold violations table displays the first 1,000 violations. The following table contains these columns:
|Column||Description||Visible By Default|
|Time||The time during the load test at which the violation occurred.||Yes|
|Computer||The 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|
|Category||The category of the performance counter on which the violation occurred.||Yes|
|Counter||The name of the performance counter on which the violation occurred.||Yes|
|Instance||The performance counter instance on which the violation occurred.||Yes|
|Message||A message that describes the threshold violation. For example, The value 5 exceeds the critical threshold value of 0.||Yes|
You can sort the table by choosing the column headers.
For more information, see Analyzing Load Test Results and Errors in the Tables View.
Viewing Threshold Violations in the Counters Panel
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.
A critical threshold violation occurred on the last interval.
A critical threshold violation occurred on a prior interval.
A warning threshold violation occurred on the last 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.
Viewing Threshold Violations on the Graph
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.