LoadTest Members

Include Protected Members
Include Inherited Members

Represents the load test being run.

The LoadTest type exposes the following members.

Constructors

 

Name

Description

Public method

LoadTest

Initializes a new instance of the LoadTest class.

Top

Methods

 

Name

Description

Public method

Abort

Overloaded. Stops the load test on all agents.

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

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

Top

Properties

 

Name

Description

Public property

Context

Gets the LoadTestContext for the current load test run.

Public property

Name

Gets the name of the load test.

Public property

RunSettings

Gets the run settings used for the current load test run.

Public property

Scenarios

Gets a collection of scenarios within the load test.

Top

Events

 

Name

Description

Public event

Heartbeat

Occurs once every second.

Public event

LoadTestAborted

Occurs when the load test is aborted.

Public event

LoadTestFinished

Occurs when the load test has stopped running on the agent.

Public event

LoadTestStarting

Occurs just before the load test begins to run on the agent.

Public event

LoadTestWarmupComplete

Occurs when the warm-up period has completed.

Public event

TestFinished

Occurs when an iteration of one of the tests contained within the load test finishes.

Public event

TestSelected

Occurs every time an iteration of one of the tests contained within the LoadTest is selected.

Public event

TestStarting

Occurs when an iteration of one of the tests contained within the load test is started.

Public event

ThresholdExceeded

Occurs when a threshold rule is exceeded.

Top

See Also

Reference

LoadTest Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace