LoadTestGoalBasedLoadProfile Members
Include Protected Members
Include Inherited Members
Represents the load profile of a load test that has a goal-based load pattern.
The LoadTestGoalBasedLoadProfile type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the LoadTestGoalBasedLoadProfile class.
Top
Methods
Name
Description
(Inherited from LoadTestLoadProfile.)
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.)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
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).)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Throws an InvalidLoadProfileException if the LoadProfile object has invalid or inconsistent properties. It also displays an appropriate message. (Overrides LoadTestLoadProfile.Validate().)
Top
Properties
Name
Description
Gets or sets a performance counter category to monitor.
Gets or sets the performance counter to monitor.
Set this Boolean value to True when the performance counter specified by the Category and Counter properties is a performance counter for which a lower value indicates higher utilization of a resource.
Gets or sets the initial user count. This is the number of virtual users to run at the start of the load test before the user load is adjusted, based on the specified goal.
Gets or sets the performance counter instance to monitor.
Gets or sets the name of the computer to monitor.
Gets or sets an upper limit to target. Load is increased or decreased to keep the counter below this value.
Gets or sets the maximum user count. The load cannot not exceed this value after the goal is met. (Overrides LoadTestLoadProfile.MaxUserCount.)
Gets or sets the maximum amount by which to reduce the user load.
Gets or sets the maximum amount by which to increase the user load.
Gets or sets the lower limit to target for the goal-based load pattern.
Gets or sets the minimum user count. The load cannot go below this value even to satisfy the goal. (Overrides LoadTestLoadProfile.MinUserCount.)
The name of the scenario in the load test that the load profile implementation is controlling. (Inherited from LoadTestLoadProfile.)
True indicates to stop adjusting user load. False indicates that the test must continue to adjust the user load throughout the test if needed to keep the specified performance counter value within the target range.
Top