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.

LoadTestStepLoadProfile Class

 

Represents the load profile of a load test that has a step 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.LoadTestStepLoadProfile

[SerializableAttribute]
public class LoadTestStepLoadProfile : LoadTestLoadProfile

NameDescription
System_CAPS_pubmethodLoadTestStepLoadProfile()

Initializes a new instance of the LoadTestStepLoadProfile class.

NameDescription
System_CAPS_pubpropertyInitialUserCount

Gets or sets the initial user count, in the case in which you are using the step load pattern.

System_CAPS_pubpropertyMaxUserCount

Gets or sets the maximum user count, in the case in which you are using the step load pattern.(Overrides LoadTestLoadProfile.MaxUserCount.)

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.(Inherited from LoadTestLoadProfile.)

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_pubpropertyStepDuration

Gets or sets the amount of time between steps in seconds.

System_CAPS_pubpropertyStepRampTime

Gets or sets the amount of time that it takes in each step to gradually add the users specified by the step user count.

System_CAPS_pubpropertyStepUserCount

Gets or sets the number of users to increase at each step, in the case in which you are using a step 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 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: