Share via


Load Test Scenario Properties

The following tables describe the various properties for load test scenario settings. You can modify these properties to meet your specific load testing requirements.

For more information, see Editing Load Test Scenarios Using the Load Test Editor and Load Test Analyzer Overview.

For example, the following illustration demonstrates how to specify the maximum test iterations for a Load Test Scenario.

Specifying test iterations in a scenario

Requirements

  • Visual Studio Ultimate

General

Property

Definition

Name

The name for the scenario.

For more information, see Creating Load Tests Using the New Load Test Wizard and Walkthrough: Creating and Running a Load Test Containing Web Performance Tests.

Mix

Property

Definition

Browser Mix

Specifies the Web browser mix for the load test. You can specify different Web browser types and their load distribution.

Choose the ellipsis (…) button to open the Edit Browser Mix dialog and use Add and Remove to select the Web browser types in the load test.

For more information, see Editing the Test Mix to Specify Which Web Browsers Types in a Load Test Scenario.

Network Mix

Specifies the network mix for the load test. You can specify which network types to include and their load distribution.

Choose the ellipsis (…) button to open the Edit Network Mix dialog box and use Add and Remove to select the network types in the load test.

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

Test Mix

Specifies the Web performance and unit test mix for the load test. You can specify which tests to include and their load distribution.

Choose the ellipsis (…) button to open the Edit Test Mix dialog box and use Add and Remove to select the tests in the load test.

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

Test Mix Type

Specifies the test mix model that is used for the load test.

Choose the ellipsis (…) button to open the Edit Test Mix dialog box and use the drop-down under Test mix model to select the test mix model to use in the load test.

For more information, see Editing Text Mix Models to Specify the Probability of a Virtual User Running a Test.

Options

Property

Definition

Agents to Use

Specifies the agents that you want your scenario to use if you are using controllers and agents to run the load test remotely. For example, you might want to specify a specific set of agents so that you maintain consistency when you analyze performance trends. Also, agents may be geographically distributed so that there is an affinity between which scripts they run and where the agent is located.

Agents must be separated by commas, for example "Agent1, Agent2, Agent3". Leaving the property blank specifies that the scenario should use all available agents.

For more information, see How to: Specify Test Agents to Use in Load Test Scenarios.

Apply Distribution to Pacing Delay

Boolean value that is used to specify if you want to apply typical distribution delays in the user pacing test mix model. This property only applies if the Test Mix Type property is set to Based on user pace.

For more information, see How to: Apply Distribution to Pacing Delay When Using a User Pace Test Mix Model

IP Switching

Boolean value uses to specify if IP switching is used.

IP switching enables a test agent to send requests to a server by using a range of different IP addresses. This simulates calls that come from different client computers. IP switching is important when you test against a load balanced Web farm. Most load balancers establish affinity between a client and a particular Web server by using the IP address of the client. If all requests seem like they are coming from a single client, the load balancer will not balance the load. To obtain good load balance in the Web farm, it is important that requests come from a range of IP addresses.

IP switching is available only with the test agent.

Maximum Test Iterations

Numeric value that is used to specify the maximum number of tests to run in the scenario. A value of 0 specifies no maximum.

For more information, see Configuring Test Iterations in a Load Test Scenario.

Percentage of New Users

Numeric value that specifies the percentage of new users or first time visitors in the scenario.

For more information, see How to: Specify the Percentage of Virtual Users that Use Web Cache Data.

Think Profile

Specifies if the scenario will use Normal Distribution, or if the think profile is On or Off.

For more information, see Editing Think Times to Simulate Web Site Human Interaction Delays in Load Tests Scenarios.

Think Times Between Test Iterations

Numeric value that is used to specify the wait time in seconds between test iterations.

For more information, see Editing Think Times to Simulate Web Site Human Interaction Delays in Load Tests Scenarios.

Timing

Property

Definition

Delay Start Time

A time value that indicates how many hours, minutes and seconds to delay starting the scenario after the load test starts. If Disable During Warmup property is set to True, the amount of time to wait applies after the completion of the warm-up period.

For more information, see Configuring Scenario Start Delays.

Disable During Warmup

Boolean value that is used to specify if the scenario should run or not during the Warm Up Duration property time value specified in the load test's run setting.

For more information about the load test run setting properties, see Load Test Run Settings Properties.

For more information, see Configuring Scenario Start Delays.

See Also

Concepts

Running Load Tests

Other Resources

Editing Load Test Scenarios Using the Load Test Editor

Creating and Editing Load Tests