Поделиться через


How to: Create a Network Mix in the New Load Test Wizard

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

A load test contains one or more scenarios. Each scenario contains one or more networks. The network mix of a scenario is a combination of two factors: the selection of networks that are contained within the scenario, and the distribution of those networks within the scenario.

Note

If your Load test does not contain Web performance tests, for example, if it contains only unit tests on an application that does not involve network access, you do not have to specify Network Mix.

The network mix should reflect the objectives of each particular scenario. For example, you could specify a mix of 75% LAN, and 25% Dial-up 56K.

Note

Distribution is a measure of the probability that virtual user will use a particular network type during a load test run. Distribution is expressed as a percentage. Therefore, the sum of the distribution numbers for all the networks that are contained in a scenario is 100.

For more information, see Specifying Virtual Network Types in a Load Test Scenario.

Specifying Network Mix in the New Load Test Wizard

When you first create a load test, you specify settings for the load test in the New Load Test Wizard. In the New Load Test Wizard, you choose networks to add to the initial scenario. After you have added networks to the scenario, you specify the network mix for the scenario.

For more information, see How to: Create a New Load Test Using the New Load Test Wizard.

To specify network mix in the New Load Test Wizard

  1. On the Network mix page of the New Load Test Wizard, click Add to add networks to the scenario. For detailed steps, see How to: Add Networks Using the Load Test Editor.

  2. Select your preferred network mix by adjusting the sliders in the Distribution column, or by typing the percentage values directly into the % column. For more information, see About the Mix Control for Load Tests.

  3. After you choose the network mix, click Next to continue to either the Browser Mix page or the Counter Sets page of the New Load Test Wizard. For more information, see How to: Create a Browser Mix in the New Load Test Wizard or How to: Create Counter Sets in the New Load Test Wizard.

    Note

    The Browser Mix page will be next if a Web performance test was added to the test mix. For more information, see How to: Create a Test Mix in the New Load Test Wizard.

You can edit the network mix for the scenario later by adding, removing, and adjusting the distribution by using the Load Test Editor. For more information, see Specifying Virtual Network Types in a Load Test Scenario.

See Also

Tasks

How to: Create a New Load Test Using the New Load Test Wizard

Concepts

About the Mix Control for Load Tests

Other Resources

Load Test Walkthroughs