Share via


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

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic does not apply Topic does not apply Topic does not apply

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 How to: Create a New Load Test Using the New Load Test Wizard.

Note

For a complete list of the run settings properties and their descriptions, see Load Test Run Setting 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.

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, click 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, click 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 in the Tables View of the Load Test Analyzer and Load Test Analyzer Overview.

See Also

Tasks

How to: Create a New Load Test Using the New Load Test Wizard

How to: Create a Scenario Used to Model User Activities, Tests, Browsers and Networks Using the New Load Test Wizard

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