The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Specify if Test Failures are Saved to Test Logs Using the Load Test Editor


After you create your load test with the New Load Test Wizard, you can use the Load Test Editor to change the load test properties to meet your testing needs and goals. See Creating load tests.

System_CAPS_ICON_note.jpg Note

For a complete list of the run settings properties and their descriptions, see Load Test Run Settings Properties.

You can specify if you want to have the test log saved if a test fails in a load test by using the Load Test Editor to change the Save Log on Test Failure property in the Properties window.


  • Visual Studio Enterprise

To specify if the test log is saved when a test fails in a scenario

  1. Open a load test.

    The Load Test Editor appears. The load test tree is displayed.

  2. In the load test trees Run Settings folder, choose the run settings node that you want to specify the maximum number of test iterations for.

  3. On the View menu, select Properties Window.

    The run settings categories and properties are displayed in the Properties window.

  4. In the Save Log on Test Failure property, select either True or False to specify if you want to save the test log in the event of a test failure in the scenario.

    After you have finished changing the property, choose Save on the File menu.

    The data that is saved in the log can be viewed using the Load Test Analyzer's Tables view. For more information, see Analyzing Load Test Results and Errors in the Tables View and Load Test Analyzer Overview.

Editing Load Test Scenarios
Creating load tests
Editing Load Test Scenarios
How to: Configure Collecting Full Details to Enable the Virtual User Activity Chart
How to: Specify How Frequently Test Logs are Saved