How to: Create a Browser Mix in the New Load Test Wizard
This topic applies to:
Visual Studio Ultimate |
Visual Studio Premium |
Visual Studio Professional |
Visual Studio Express |
---|---|---|---|
A load test contains one or more scenarios, each of which contains one or more Web performance or unit tests. Each scenario contains one or more Web browsers, which are used to perform any Web performance tests in the scenario.
Poznámka
If your Load test does not contain Web performance tests, for example if it contains only unit tests, the Browser Mix page of the New Load Test Wizard will not appear. For more information, see How to: Create a Test Mix in the New Load Test Wizard.
The browser mix of a scenario is a combination of two factors: the selection of browsers that are contained within the scenario, and the distribution of those browsers within the scenario. The browser mix should reflect the objectives of each particular scenario. For example, you could specify a browser mix of 95% Internet Explorer 8, and 5% Internet Explorer Mobile 6.
Poznámka
Distribution is a measure of the probability that a particular browser 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 browsers that are contained in a scenario is 100.
For more information, see Specifying Web Browsers Types in a Load Test Scenario.
Specifying Browser 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 browsers to add to the initial scenario. After you have added browsers to the scenario, you specify the browser mix for the scenario.
For more information, see How to: Create a New Load Test Using the New Load Test Wizard.
To specify browser mix in the New Load Test Wizard
On the Browser Mix page of the New Load Test Wizard, click Add to add browsers to the scenario.
Select your preferred browser 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.
After you choose the browser mix, click Next to continue to the Counter Sets page of the New Load Test Wizard. For more information, see How to: Create Counter Sets in the New Load Test Wizard.
You can edit the browser mix for the load test scenario later by adding, removing, and adjusting the distribution using the Load Test Editor. For more information, see Specifying Web Browsers 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