Share via


Load test scenario properties

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Change your load test scenario property settings in Visual Studio to meet your load testing requirements. This article lists the various load test scenario properties by category.

Note

Web performance and load test functionality is deprecated. Visual Studio 2019 is the last version where web performance and load testing will be fully available. For more information, see the Cloud-based load testing service end of life blog post. To reduce the impact on users some minimum support is still available in Visual Studio 2022 Preview 3 or later. Users should also note web performance and load test functionality only supports Internet Explorer which is not available on Windows 11 and some versions of Windows 10. Read more on Internet Explorer Lifecycle policy.

General

Property Definition
Name The name for the scenario.

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 Specify 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 Specify 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, Edit the test mix for a load test scenario.
Test Mix Type Specifies the test mix model 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 Edit text mix models.

Options

Property Definition
Agents to Use Specifies the agents that you want your scenario to use if you are running 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's 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
IP Switching Boolean value that's used 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 Configure 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 Edit 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 Configure 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 Configure scenario start 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 Edit think times to simulate website human interaction delays.

See also