Export (0) Print
Expand All

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

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

Load tests contain one or more scenarios, which are used to model how a group of users interacts with a server application. An individual scenario is made up of a load pattern, a test mix, a browser mix, and a network mix. Each of these settings corresponds to a page in the New Load Test Wizard.

NoteNote

In the Load Test Editor, you can add more scenarios or change any of the scenario settings. For more information, see How to: Insert Additional Scenarios to an Existing Load Test.

When you first create a load test, you specify an initial scenario in the New Load Test Wizard. For more information, see How to: Create a New Load Test Using the New Load Test Wizard.

To specify a scenario in the New Load Test Wizard

  1. On the Scenario page of the New Load Test Wizard, type a name for your initial scenario.

    NoteNote

    You can change the name of the scenario later by using the Load Test Editor.

  2. Select your preferred think time profile. For more information, see How to: Change the Think Profile.

  3. Select your preferred think time between test iterations. For more information, see How to: Change the Load Pattern.

  4. After you choose the Scenario page settings, click Next to continue to the Load Pattern page of the New Load Test Wizard. For more information, see How to: Create a Load Pattern in the Load New Test Wizard.

After you create your load test, you can add more scenarios by using the Load Test Editor. For more information, see How to: Insert Additional Scenarios to an Existing Load Test.

Additional Properties

Scenarios contain properties that you set initially in the New Load Test Wizard and can later change by using the Load Test Editor.

For example, Think Profile is a property that identifies whether think times are used or ignored in load tests. The Think Profile applies to an entire scenario in a load test. For more information, see How to: Change the Think Profile.

Another example is the Think Time Between Test Iterations is a property that allows some time to elapse between the end of one test and the beginning of another. For more information, see How to: Change the Load Pattern.

There are additional properties that are not set by using the New Load Test Wizard, such as the IP Switching and Percent New Users properties. These properties are configured later by using the Load Test Editor. For a list of all the scenario properties that you can change, see Load Test Scenario Properties.

NoteNote

IP switching is available only with the test agent. For more information, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents.

Community Additions

ADD
Show:
© 2014 Microsoft