Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoadTestScenario Class

 

Represents a scenario that is contained in a load test.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

System.Object
  Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestScenario

public class LoadTestScenario

NameDescription
System_CAPS_pubpropertyCurrentLoad

Gets or sets the current value for the concurrent user load for this scenario.

System_CAPS_pubpropertyDelayBetweenIterations

Gets or sets the delay between the tests in a load test.

System_CAPS_pubpropertyLoadProfile

Gets or sets the profile of the user load for this scenario.

System_CAPS_pubpropertyName

Gets the name of the scenario as it is defined in the Load Test Editor.

System_CAPS_pubpropertyTestNames

Gets an array of the test names that are included in the scenario.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventLoadChanged

Occurs when the current user load for this scenario changes as the load test runs.

Using a Load Test Plug-In, a LoadTestScenario object is used to override the specified user load in the load test to control the user load programmatically. This is accomplished by accessing the individual load test scenarios that are represented by LoadTestScenario objects that are contained in the LoadTest Scenarios collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: