Export (0) Print
Expand All

How to: Change the Load Pattern

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic appliesTopic does not applyTopic does not applyTopic does not apply

After you create your load test with the New Load Test Wizard, you can use the Load Test Editor to change the load pattern properties associated with a scenario to levels that meet your test goals.

NoteNote

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

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. For more information, see Editing Load Patterns to Model Virtual User Activities.

NoteNote

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

Virtual User Limits and Licensing

Visual Studio Ultimate lets you use up to 250 virtual users on a local load test run. If your load testing requires more virtual users, or you want to use remote machines, you must purchase Visual Studio Load Test Virtual User Pack 2010. You can purchase Visual Studio Load Test Virtual User Pack 2010 where you purchased Visual Studio Ultimate. For more information, see Managing Your Virtual User Licenses for Load Testing with a Test Controller and Configuring Test Controllers and Test Agents for Load Testing.

To change the load pattern

  1. Open a load test.

  2. In the Load Test Editor, in the Scenarios folder, expand the scenario you want to edit the load pattern for and click the load pattern for the scenario.

    NoteNote

    The wording of the load pattern node, as it is displayed in the scenario tree of your load test, reflects the load profile you that 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 about the load pattern types, see Editing Load Patterns to Model Virtual User Activities.

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

    NoteNote

    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.

Community Additions

ADD
Show:
© 2014 Microsoft