Share via


How to: Export load test results from a repository

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, information gathered during the run is stored in the Load Test Results Repository. The Load Test Results Repository contains performance counter data and information about any errors. For more information, see Manage load test results in the Load Test Results Repository.

You can manage load test results from the Load Test Editor by using the Open and Manage Load Test Results dialog box. You can open, import, export, and remove load test results.

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 export results from a repository

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

  2. On the embedded toolbar, choose Open and Manage Results.

    The Open and Manage Load Test Results dialog box is displayed.

  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 load test results are 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 Description column displays the short descriptions that were entered in the Analysis Comments for this test result.

  5. In the Load test results list, choose a result. You can use the Shift key, the Ctrl key, or both to select more than one result, and export them to a single file.

  6. Choose Export.

    The Export Load Test Results dialog box appears.

  7. In the File name box, type a name, and then choose Save.

    The results are exported to an archive file.

    Note

    The Open and Manage Load Test Results dialog box remains open after the results appear.

See also