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.

LoadTestConstantLoadProfile Class

 

Represents the load profile of a load test that has a constant load pattern.

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

System::Object
  Microsoft.VisualStudio.TestTools.LoadTesting::LoadTestLoadProfile
    Microsoft.VisualStudio.TestTools.LoadTesting::LoadTestConstantLoadProfile

[SerializableAttribute]
public ref class LoadTestConstantLoadProfile : LoadTestLoadProfile

NameDescription
System_CAPS_pubmethodLoadTestConstantLoadProfile()

Initializes a new instance of the LoadTestConstantLoadProfile class.

NameDescription
System_CAPS_pubpropertyMaxUserCount

Gets or sets the maximum user count. The maximum user count is the same as the UserCount for the LoadTestConstantLoadProfile class.(Overrides LoadTestLoadProfile::MaxUserCount.)

System_CAPS_pubpropertyMinUserCount

Gets or sets the minimum user count. The minimum user count is the same as the UserCount for the LoadTestConstantLoadProfile class.(Overrides LoadTestLoadProfile::MinUserCount.)

System_CAPS_pubpropertyScenarioName

Gets or sets the name of the scenario in the load test that the load profile implementation is controlling.(Inherited from LoadTestLoadProfile.)

System_CAPS_pubpropertyUserCount

Gets or sets the number of virtual users in the case in which you are using a constant load pattern.

NameDescription
System_CAPS_pubmethodCheckIfProfileCanBeModified(String^)

Throws an exception if the profile property is not yet ready to be modified.(Inherited from LoadTestLoadProfile.)

System_CAPS_pubmethodCopy()

Returns a copy of the current object so it can be modified and assigned to the LoadTestScenario::LoadProfile property. (Inherited from LoadTestLoadProfile.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLoad(Int32)

Returns the user load that should be used at the current time in the load test based on the value of elapsedSeconds since the start of the load test that was passed as an argument.(Overrides LoadTestLoadProfile::GetLoad(Int32).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRestoreUserCountAfterRestart(Int32)

Restores the current user count to the value it had before the restart.(Inherited from LoadTestLoadProfile.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

Throws an InvalidLoadProfileException if the LoadProfile object has invalid or inconsistent properties. (Overrides LoadTestLoadProfile::Validate().)

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: