Dela via


How to: Specify How Frequently Test Logs are Saved 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 tests 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 how frequently that the test log is saved in a load test by using the Load Test Editor to change the Save Log Frequency for Completed Tests property in the Properties window.

To specify the frequency for saving the test log in a load test

  1. Open a load test.

    The Load Test Editor appears. It displays the load test tree.

  2. In the load test trees Run Settings folder, click the run setting node that you want to specify how frequently that the test log is saved for.

  3. On the View menu, select Properties Window.

    The scenario's categories and properties are displayed in the Properties window.

  4. In the text box for the Save Log Frequency for Completed Tests property, type a number to indicate the frequency at which the test log will be written. The number indicates that one out of every entered number of tests will be saved to the test log. For example, entering the value of ten specifies that the tenth, twentieth, thirtieth and so on will be written to the test log.

    Note

    Using a value of 0 for the Save Log Frequency for Completed Tests property specifies that no test logs are saved.

  5. 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: Specify if Test Failures are Saved to Test Logs Using the Load Test Editor

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

Other Resources

Editing Load Test Scenarios Using the Load Test Editor