How to: Save and Open Web Perfornace and Load Test Results in Visual Studio
After you run a Web performance test or a load test in Visual Studio, the results of the test that was executed in that run are saved automatically on your computer in a test run file. You can open any test runs that were saved, view results of recently run tests, or save copies of test runs to a different location. How many test runs are saved automatically depends on a setting in the Options dialog box.
This topic is about using Visual Studio to save and open Web performance test and load test results. For information about viewing automated test results in the Test Explorer, see Run Tests from Test Explorer. For more information about how to save and open test results in Microsoft Test Manager, see How to: View Manual Test Case Results Using Microsoft Test Manager.
Microsoft Test Manager is provided as part of Visual Studio Ultimate, Visual Studio Premium, and Visual Studio Test Professional products.
Visual Studio Ultimate
How many test runs are saved by default dictates how many previously run tests you can open or copy to a different location.
To change how many test runs are automatically saved
On the Tools menu, choose Options.
In the Options dialog box expand Web Performance Test Tools, choose Test Execution, and under Test Results Management set the number of tests that you want to have saved automatically.
How you open test results depends on how they were saved. If you run multiple tests in a single session you can quickly open the previously run tests. You can also open tests that were saved automatically, or you can open tests that you saved to a chosen location.
To open results of recently run tests
From the VIEW menu, choose Other Windows and then choose Test Results.
In the Test Results window, in the Select Run list, choose the test run you want to open or choose Manage test runs to browse for a test from the Test Runs window.
How many runs are available depends on how many tests you ran during the current session.
(Optional) In the Result list, right-click a test and choose View Results to see more information about that particular test.
(Optional) To view test result details, including any data and diagnostic adapter attachments, choose Run Details in the toolbar. For more information, see Setting Up Machines and Collecting Diagnostic Information Using Test Settings.