Share via


Load Test Scenario Properties

 

Change your load test scenario property settings in Visual Studio Enterprise to meet your load testing requirements.

For example, here's how you can specify the maximum test iterations for a Load Test Scenario.

Specifying test iterations in a scenario

See Editing Load Test Scenarios and Load Test Analyzer Overview.

General

Here are the load test scenario settings properties that you can change.

Property Definition
Name The name for the scenario.

For more information, see Creating load tests and Create and run a load test.

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 Specifying Web Browsers Types.
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.
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 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.
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 for Scenarios.
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 Website Human Interaction Delays.
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 Website Human Interaction Delays.

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

Editing Load Test Scenarios
Creating and Editing Load Tests
Running Load Tests