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::CurrentLoad Property

 

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

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

public:
property int CurrentLoad {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The current value for the concurrent user load.

Exception Condition
ArgumentOutOfRangeException

Set value is less than 0.

A Load Test Plug-In can set this property to change the current user load. This can raise the LoadChanged event if the set value changes the load. After a Load Test Plug-In changes the current user load for the LoadTestScenario, the user load will stay at that level until the Load Test Plug-In changes it again.

Return to top
Show: