Export (0) Print
Expand All

How to: Create a Test Mix in 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

A load test contains one or more scenarios. Each scenario contains one or more Web performance or unit tests in a test mix. The test mix of a scenario is a combination of various factors, such as the selection of tests that are contained within the scenario and the distribution of those tests within the scenario. The test mix should reflect the objectives of your test for a particular scenario. For more information, see Editing the Test Mix to Specify Which Web Performance, Unit and Coded UI Tests to Include in a Load Test Scenario.

NoteNote

Distribution is a measure of the probability that a particular test will be selected by a virtual user during a load test run. Distribution is expressed as a percentage. Therefore, the sum of the distribution numbers for all the tests that are contained in a scenario is 100. For example, if a scenario contains only one test, the distribution for that test is 100%.

The test mix is just one part of specifying a load model. You can use various test mix modeling options to predict the expected real-world usage of the Web site or application that you are load-testing. For more information, see How to: Create a Test Mix Model in the New Load Test Wizard.

When you 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 existing Web performance and unit tests to add to the initial scenario. After you have added tests to the scenario, you specify the test mix for the scenario.

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

To specify test mix in the New Load Test Wizard

  1. On the Test Mix page of the New Load Test Wizard, click Add to add tests to the scenario. For more information, see How to: Add Web Performance, Unit and Coded UI Tests to a Load Test Scenario Using the Load Test Editor.

  2. Select your preferred test 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 test mix, click Next to continue to the Network Mix page of the New Load Test Wizard.

    NoteNote

    The Browser Mix page will appear in the New Load Test Wizard if a Web Performance test was included in the test mix page.

You can change the test mix for a scenario later by adding and removing test from the scenario by using the Load Test Editor. For more information, see Editing the Test Mix to Specify Which Web Performance, Unit and Coded UI Tests to Include in a Load Test Scenario.

Community Additions

ADD
Show:
© 2015 Microsoft