Udostępnij za pośrednictwem


How to: Change the Load Pattern

A load pattern specifies the number of virtual users active during a load test, and the rate at which new users are added. You can choose from the three available patterns: step pattern, constant and goal based.

After first creating your load test with the Load Test Wizard, you can use the Load Test Editor to change the load pattern properties to levels that meet your test goals.

Note

You can also change your load properties programmatically using a load test plug-in. For more information, see How to: Create a Load Test Plug-In.

To change the load pattern

  1. Open a load test.

  2. In the Load Test Editor, click the Load Pattern for the scenario.

    Note

    The wording of the Load Pattern node, as it is displayed in the scenario tree of your load test, reflects the load profile you chose when you created the load test. It can be either Constant Load Profile or Step Load Profile.

  3. Press F4 to display the Properties window.

    The Load Pattern and the Parameters categories are displayed in the Properties window.

  4. (Optional) Change the Pattern property in the Load Pattern category.

    Your choices for the Pattern property are Step, Constant, and Goal Based. For more information, see About Load Pattern.

  5. (Optional) In the Parameters category, change the values.

    Note

    The values you can set for Parameters differ according to the value that was selected for Pattern property.

  6. After you have finished changing the properties, click Save on the File menu. You can then run your load test with the new Load Pattern.

See Also

Tasks

How to: Specify Load Patterns

How to: Create a Load Test Plug-In

Concepts

About Load Pattern