How to: Access Load Test Results for Analysis
This topic applies to:
Visual Studio Ultimate
Visual Studio Premium
Visual Studio Professional
Visual Studio Express
When you run a load test from the Load Test Editor, the load test results open automatically and the running load test is displayed in the Load Test Analyzer. 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 Running Load Tests.
The load test result for the completed load test contains performance counter samples and error information that was collected periodically from the computers-under-test. A large number of performance counter samples can be collected over the course of a load test run. The amount of performance data that is collected depends on the length of the test run, the sampling interval, the number of computers under test, the number of counters being collected, the data collectors that are configured, and the logging levels. For a large load test, the amount of performance data that is collected can easily be several gigabytes. For more information, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents and Considerations for Load Tests.
To access a load test result
From a test project, open a load test.
In the Load Test Editor's toolbar, click the Open and Mange Results button.
The Open and Manage Results dialog box appears.
In Enter a controller name to find load test results, select a controller. Select <local> - No controller to access results stored locally.
In Show results for the following load test, select the load test whose results you want to view. Select <Show results for all tests> to see all results for all tests.
If there are load test results available, they appear in the Load test results list. The columns are Time, Duration, User, Outcome, Test, and Description. Test contains the name of the test, and Description contains the optional description that is added before the test is run.
The results appear with the most recent results at the top of the list.
In the Load test results list, select the load test results you want to analyze and click Open.
The Load Test Analyzer appears. The selected load test result is displayed in the Summary view. For more information, see Load Test Results Summary Overview.
You can manage other aspects of load test results in the Open and Manage Results dialog box including importing, exporting, and removing load test results. For more information, see Managing Load Test Results in the Load Test Results Repository.