Analyzing Load Test Errors
When you run a load test, you can analyze errors that occur. Analyzing errors and adjusting your tests are an important part of the load test process. If any errors occurred, an errors hyperlink appears on the load test status bar and specifies the number of errors that occurred. To display the errors table, you click the hyperlink.
Viewing Errors in the Errors Table
The errors table groups the errors that occurred during a load test by the type and subtype of the error. There is also a total line in the table that specifies the total count of all the errors that occurred.
The errors table contains the following columns:
Column |
Description |
Visible By Default |
---|---|---|
Type |
The type of the error. For example, HttpError. |
Yes |
SubType |
The subtype of the error. For example, LoadTestException. |
Yes |
Count |
The number of errors of this type that occurred during the load test. The entries in this column appear as hyperlinks. You can click any hyperlink to view a list of the individual errors. |
Yes |
Last Message |
A message that describes the error. For example, 404 - NotFound. |
Yes |
For more information, see Working with Load Test Tables.
Drilling Down to the Error List
The errors table groups the errors by the type and subtype of the error. To view a table of the individual errors, you display the Load Test Errors dialog box. To display the dialog box, click a hyperlink in the Count column of the errors table. You can also display the dialog box by right-clicking a row in the errors table that is populated, and clicking Errors.
Note
Only the first 1,000 instances of any error type and subtype combination are collected. When you display the Load Test Errors dialog box, you will see at most the first 1,000 instances that error.
The Load Test Errors table contains the following columns:
Column |
Description |
---|---|
Time |
The time during the load test at which the error occurred. |
Agent |
The name of the agent computer on which the error occurred. This is important when you run load tests on rigs. For more information, see Controllers, Agents, and Rigs. |
Test |
The name of the Web test in which the error occurred. |
Scenario |
The name of the scenario in which the error occurred. |
Request |
The URL of the request in which the error occurred. |
Type |
The type of the error. For example, HttpError. |
SubType |
The subtype of the error. For example, LoadTestException. |
Text |
The text of the error message. For example, 404 - NotFound. |
Stack |
The entries in this column are either empty, or the word view formatted as a hyperlink. You can click the hyperlink to view a stack trace of the error. |
Details |
The entries in this column are either empty, or the word view formatted as a hyperlink. You can click the hyperlink to view the error details. The error details include the request text, the response text, and the context name-value pairs. |
Note
You can sort the table by clicking the column headers.
Drilling Down to Error Details
The Load Test Errors dialog box displays a table of the individual errors that occurred. To view the details of a specific error, you display the Error detail dialog box. To display the dialog box, click a hyperlink in the Details column of the Load Test Errors table. You can also display the dialog box by right-clicking a row in the table that is populated, and clicking View Details.
Note
Error details are not available for all errors.
The Error detail dialog box displays the Web request that caused the error in the same viewer as when you run a Web test. The viewer displays a rendered view of the page, the request text, the response text, the context name-value pairs, and the validation and extraction rule details. For more information, see Running and Viewing a Web Test.
Note
Error details do not include the dependent request information.
Because error details can consume a large amount of space in the database, the number of errors for which details are collected is limited. You can set the Maximum Error Details property of a load test run setting to change the number of errors for which details are collected. For more information, see How to: Change the Run Settings.
Drilling Down to Stack Traces
The Load Test Errors dialog box displays a table of the individual errors that occurred. To view the stack trace of a specific error, you display the Error Stack Trace dialog box. To display the dialog box, click a hyperlink in the Stack column of the Load Test Errors dialog table. You can also display the dialog box by right-clicking a row in the table that is populated, and clicking View Stack.
Note
Stack traces are not available for all errors.
See Also
Concepts
Analyzing Threshold Rule Violations