How to: Access load test results for analysis

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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 command line, you must access the load test results manually.

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 Test controllers and test agents.

Note

Web performance and load test functionality is deprecated. Visual Studio 2019 is the last version where web performance and load testing will be fully available. For more information, see the Cloud-based load testing service end of life blog post. To reduce the impact on users some minimum support is still available in Visual Studio 2022 Preview 3 or later. Users should also note web performance and load test functionality only supports Internet Explorer which is not available on Windows 11 and some versions of Windows 10. Read more on Internet Explorer Lifecycle policy.

To access a load test result

  1. From a web performance and load test project, open a load test.

  2. In the Load Test Editor's toolbar, choose the Open and Manage Results button.

    The Open and Manage Results dialog box appears.

  3. In Enter a controller name to find load test results, select a controller. Select <local> - No controller to access results stored locally.

  4. 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.

    Note

    The results appear with the most recent results at the top of the list.

  5. In the Load test results list, select the load test results you want to analyze and choose Open.

  6. 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 Manage load test results in the load test results repository.

See also