LoadTestStepLoadProfile Members

Include Protected Members
Include Inherited Members

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

The LoadTestStepLoadProfile type exposes the following members.

Constructors

 

Name

Description

Public method

LoadTestStepLoadProfile

Initializes a new instance of the LoadTestStepLoadProfile class.

Top

Methods

 

Name

Description

Public method

CheckIfProfileCanBeModified

(Inherited from LoadTestLoadProfile.)

Public method

Copy

Returns a copy of the object, typically a LoadTestPlugin object. The caller can then modify it and reassign it to the LoadProfile property of the LoadTestScenario object. (Inherited from LoadTestLoadProfile.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLoad

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).)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Validate

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

Top

Properties

 

Name

Description

Public property

InitialUserCount

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

Public property

MaxUserCount

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

Public property

MinUserCount

Gets or sets the smallest user count that will ever be returned by the GetLoad method of the class extending LoadTestLoadProfile. (Inherited from LoadTestLoadProfile.)

Public property

ScenarioName

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

Public property

StepDuration

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

Public property

StepRampTime

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

Public property

StepUserCount

Gets or sets the number of users to increase at each step, in the case in which you are using a step load pattern.

Top

See Also

Reference

LoadTestStepLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace