|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Accessing Load Test Results
You can analyze your load test data to locate bottlenecks, identify errors, and measure improvements in your application. Before you can analyze your load test data, you must first access the load test results.
You can access load test results to complete the following tasks:
Monitor a load test while it is running.
Analyze a load test after it has completed.
View results from a previous load test.
These tasks can be completed whether you run your load test from Visual Studio Team System Test Edition or from the command line, and whether you run your load test on a single computer or on a remote rig. This document discusses different ways to access your load test results.
While a load test is running, a smaller set of the performance counter data is maintained in memory. You can monitor this set of data while your load test is running. After a load test has completed, you can analyze the full set of data from the database. There are some differences in what data you can see while a load test is running and what data you can see after a load test has completed. For example, 90% and 95% response time data is not calculated until the load test has completed. There are also some differences in the functionality of the tools available to analyze the data.
For more information, see Analyzing Load Test Results.
When you analyze your load test data, you use the load test analyzer window. You can have multiple load test analyzer windows open at the same time, to compare different load test runs.
The load test analyzer appears as a tabbed document, but can also be docked or set to float by using the usual Visual Studio window manipulation techniques. The title of the window is the name of your load test and the time the test was started. For example, LoadTest1 [12:40 PM].
When you run a load test from a load test editor, the load test results open automatically. When you run a load test from the Test View window, the Test List Editor window, or from the command line, you must access the load test results manually. For more information about the different ways to run a load test, see How to: Run a Load Test.
Generally, you access previous load test results from the Load Test Editor by using the Open and Manage Load Test Results dialog box. From this dialog box you can open, delete, import, and export load test results. For more information, see Managing Results in a Repository.
You can also access your load test results manually from the Test Results window by using the drop-down list on the Test Results toolbar.