How to: Create Run Settings in the New Load Test Wizard
This topic applies to:
Visual Studio Ultimate |
Visual Studio Premium |
Visual Studio Professional |
Visual Studio Express |
---|---|---|---|
Run settings are a set of properties that affect an entire load test. The run settings determine such things as the length of the test, warm-up duration, maximum number of error details reported, sampling rate, connection model (Web performance tests only), results storage type, validation level and SQL tracing. The run settings should reflect the goals of your load test. For more information, see Configuring Load Test Run Settings.
Note
Run settings, just like counter sets, apply to all the scenarios in a load test instead of individual scenarios.
When you create a load test, you specify the initial run settings for the load test in the New Load Test Wizard. For more information, see How to: Create a New Load Test Using the New Load Test Wizard.
Specifying Run Settings in the New Load Test Wizard
To specify run settings in the New Load Test Wizard
On the Run Settings page of the New Load Test Wizard, first select the length of the load test by choosing one of the following options:
Use Specified duration
Select the Load test duration option.
Specify the Warm-up duration (hh mm ss). Use the hour, minute and second spin controls.
Specify the Run duration (hh mm ss). Use the hour, minute and second spin controls.
-or-
Use Specified iterations
Select the Test iterations option.
Specify the number of times to run the test. Use the Test iterations spin control.
Under Details, configure the following options:
Use the Sampling rate spin control to specify the number of seconds between gathering sampling data.
In the Description text box, type a description of the load test.
Use the drop-down list box for Save Log on Test Failure to specify True to save the log file or False if you do not want to save the log file.
Note
By default, the Save Log on Test Failure is set to true. You should only set it to false if you are concerned about the potential performance impact that can occur from the additional overhead caused by the load agent.
In Visual Studio 2003 and Visual Studio 2008, only the request that failed would be displayed. For example, assume that request 3 fails in a Web performance test. Typically, you need to know what requests 1 and 2 did in order to debug why request 3 failed. With the save log feature, the Web Performance Test Results Viewer will display all the requests that are executed for the Web performance test. So if a Web performance test has 10 requests and request 3 fails, when you debug the error you can view all 10 requests in the Web Performance Test Results Viewer.
Use the drop-down list box for Validation level to select one of the following options:
High - invoke all validation rules
Medium - invoke validation rules marked medium or low
Low - invoke validation rules marked low
For more information, see Using Validation and Extraction Rules in Web Performance Tests.
After you choose your run settings, you have finished the New Load Test Wizard. Click Finish if you are done, or use the orientation panel on the left side to return to any previous part of the wizard.
You can change the run settings you configured in the New Load Test Wizard and several additional run setting properties later, by using the Load Test Editor. For more information, see Load Test Run Setting Properties and How to: Modify the Run Settings Properties in a Load Test Using the Load Test Editor.
See Also
Tasks
How to: Create a New Load Test Using the New Load Test Wizard
How to: Add Additional Run Settings to a Load Test
Other Resources
Creating Load Tests Using the New Load Test Wizard