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.

LoadTestLoadProfile Class

 

Provides an abstract base class for load test profiles.

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


[SerializableAttribute]
public abstract class LoadTestLoadProfile

NameDescription
System_CAPS_protmethodLoadTestLoadProfile()

Initializes a new instance of the LoadTestLoadProfile class.

NameDescription
System_CAPS_pubpropertyMaxUserCount

Gets or sets the maximum number of users that can be returned by the GetLoad method.

System_CAPS_pubpropertyMinUserCount

Gets or sets the minimum number of users that that can be returned by the GetLoad method of the class extending LoadTestLoadProfile.

System_CAPS_pubpropertyScenarioName

Gets or sets the name of the scenario in the load test that the load profile implementation is controlling.

NameDescription
System_CAPS_pubmethodCheckIfProfileCanBeModified(String)

Throws an exception if the profile property is not yet ready to be modified.

System_CAPS_pubmethodCopy()

Returns a copy of the current object so it can be modified and assigned to the LoadTestScenario.LoadProfile property.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLoad(Int32)

When overridden in a derived class, returns the user load that should be used at the current time in the load test based on the number of seconds since the start of the load test.

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.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

When overridden in a derived class, validates whether all properties of this object have values that are valid and consistent.

LoadTestLoadProfile is an abstract base class for the following classes:

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: