How to: Specify the Number of Test Iterations in a Load Test Run Setting
After you create your load test with the New Load Test Wizard, you can use the Load Test Editor to change the scenarios properties to meet your testing needs and goals. For more information, see [retired] Creating load tests.
Using the Load Test Editor, you can edit the Test Iterations property of a run settings value in the Properties window. The Test Iterations property specifies the number of iterations to run on all the Web performance and unit tests in all the scenarios in a load test using the Load Test Editor.
For a complete list of the run settings properties and their descriptions, see Load Test Run Settings Properties.
Visual Studio Ultimate
To specify the number of test iterations in a run setting
Open a load test.
The Load Test Editor appears and displays the load test tree.
In the load test tree, in the Run Settings folder, choose a run setting.
On the View menu, select Properties Window to view the load run setting's categories and properties.
Set the Use Test Iterations property to True.
In the Test Iterations property, enter a number that indicates the number of test iterations to run during the load test.
After you have finished changing the property, choose Save on the File menu. You can then run your load test using the new Test Iterations value.