Partager via


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. For more information, see [retired] Creating load tests.

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.

Requirements

  • Visual Studio Ultimate

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 of the Load Test Analyzer and Load Test Analyzer Overview.

See Also

Tasks

How to: Configure Load Tests to Collect Full Details to Enable Virtual User Activity in Test Results

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

Other Resources

Editing Load Test Scenarios Using the Load Test Editor

[retired] Creating load tests

Editing Load Test Scenarios Using the Load Test Editor