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 Creating Load Tests Using the New Load Test Wizard.
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.
Visual Studio Ultimate
To specify if the test log is saved when a test fails in a scenario
Open a load test.
The Load Test Editor appears. The load test tree is displayed.
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.
On the View menu, select Properties Window.
The run settings categories and properties are displayed in the Properties window.
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.