How to: Apply Distribution to Pacing Delay When Using a User Pace Test Mix Model

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

Note

For a complete list of the load test scenario properties and their descriptions, see Load Test Scenario Properties.

The Apply Distribution to Pacing Delay property is set by using the Properties window. Load test scenario properties are modified by using the Load Test Editor.

Note

The Apply Distribution to Pacing Delay property applies only if the load test mix is configured based on the user pace. For more information, see Editing Test Mix Models to Specify the Probability of a Virtual User Running a Test.

The value for the Apply Distribution to Pacing Delay can be set to either true or false:

  • True: The scenario will apply normal statistical distribution delays that are specified by the value in the Tests Per User Per Hour column in the Edit Test Mix dialog box. For more information, see Editing Test Mix Models to Specify the Probability of a Virtual User Running a Test.

    For example, assume that you have Tests Per User Per Hour value in the Edit Test Mix dialog box for the test set to two users per hour. If Apply Distribution to Pacing Delay property is set to True, a normal statistical distribution is applied to the wait time between the tests. The tests will still run two tests per hour, but it will not necessarily be 30 minute delay between them. The first test could run after four minutes and the second test after 45 minutes.

  • False: The tests will run at the pace that you specified for the value in the Tests Per User Per Hour column in the Edit Test Mix dialog box. For more information, see Editing Test Mix Models to Specify the Probability of a Virtual User Running a Test.

    For example, assume that you have Tests Per User Per Hour value in the Edit Test Mix dialog box for the test set to two users per hour. If the Apply Distribution to Pacing Delay property is set to False, you are giving no leeway when your tests run. The test will run every 30 minutes. This makes sure that you execute two tests per hour.

To specify the Apply Distribution to Pacing Delay property setting for a scenario

  1. Open a load test.

    The Load Test Editor appears. The load test tree is displayed.

  2. In the Scenarios folder of the load test tree, click the scenario node for which you want to specify the agents to use.

  3. On the View menu, select Properties Window.

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

  4. In the property value for the Apply Distribution to Pacing Delay, select either True or False.

  5. After you change the property, click Save on the File menu. You can then run your load test by using the new Apply Distribution to Pacing Delay value.

See Also

Tasks

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

How to: Run a Load Test Using Test Controllers and Test Agents Specified in a Test Setting

Concepts

Load Test Scenario Properties

Other Resources

Editing Load Test Scenarios Using the Load Test Editor

Creating Load Tests Using the New Load Test Wizard

Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents