Export (0) Print
Expand All

LoadTestConstantLoadProfile Class

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

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

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

[SerializableAttribute]
public class LoadTestConstantLoadProfile : LoadTestLoadProfile

The LoadTestConstantLoadProfile type exposes the following members.

  NameDescription
Public methodLoadTestConstantLoadProfileInitializes a new instance of the LoadTestConstantLoadProfile class.
Top

  NameDescription
Public propertyMaxUserCountGets or sets the maximum user count. The maximum user count is the same as the UserCount for the LoadTestConstantLoadProfile class. (Overrides LoadTestLoadProfile.MaxUserCount.)
Public propertyMinUserCountGets or sets the minimum user count. The minimum user count is the same as the UserCount for the LoadTestConstantLoadProfile class. (Overrides LoadTestLoadProfile.MinUserCount.)
Public propertyScenarioNameGets or sets the name of the scenario in the load test that the load profile implementation is controlling. (Inherited from LoadTestLoadProfile.)
Public propertyUserCountGets or sets the number of virtual users in the case in which you are using a constant load pattern.
Top

  NameDescription
Public methodCheckIfProfileCanBeModifiedThrows an exception if the profile property is not yet ready to be modified. (Inherited from LoadTestLoadProfile.)
Public methodCopyReturns a copy of the current object so it can be modified and assigned to the LoadTestScenario.LoadProfile property. (Inherited from LoadTestLoadProfile.)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLoadReturns 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).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRestoreUserCountAfterRestartRestores the current user count to the value it had before the restart. (Inherited from LoadTestLoadProfile.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodValidateThrows an InvalidLoadProfileException if the LoadProfile object has invalid or inconsistent properties. (Overrides LoadTestLoadProfile.Validate().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft