Export (0) Print
Expand All

Editing the Test Mix to Specify Which Web Performance, Unit and Coded UI Tests to Include in a Load Test Scenario

The test mix of a scenario is a combination of the selection of Web performance and unit tests that are contained in the scenario and the distribution of those tests in the scenario. The distribution is a setting that you can specify for the probability that a particular test will be selected by a virtual user during a load test run.

After you add a set of tests to a load test, the test mix works like other mix options. A virtual user randomly selects a test, based on the probability that you specified in the mix. For example, if you have two tests, each 50 percent in the mix, a new virtual user chooses to run the first test approximately half the time. In a 50/50 mix, if one test is long and another is short, more load comes from the long test.

After you have added tests to the mix, you can remove them. You can also change the distribution of the test mix by using the mix control. The mix control lets you easily adjust the distribution of tests in a scenario. For more information, see About the Mix Control for Load Tests.

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 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 percent.

Tasks

Associated topics

Add and configure Web performance and unit tests: You can specify the Web performance and unit tests to include in the load test scenario and how the tests will be distributed.

Remove Web performance and unit tests: You can remove Web performance and unit tests from a load test scenario. For example, you might want to remove a test that is no longer relevant, such as a deleted feature in the application that is under test.

Community Additions

ADD
Show:
© 2014 Microsoft