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.

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

 

The Microsoft.VisualStudio.TestTools.LoadTesting namespace provides classes and interfaces that enable load testing of unit and Web tests. This namespace includes the LoadTest class that represents the current load test. This class contains properties and events that can be used by an implementation of the ILoadTestPlugin interface to extend the functionality of the load test.

ClassDescription
System_CAPS_pubclassHeartbeatEventArgs
System_CAPS_pubclassInvalidLoadProfileException

This class represents an Exception that occurs when a load test plug-in attempts to assign the LoadProfile property of the LoadTestScenario to a LoadTestLoadProfile with an invalid or inconsistent set of property values.

System_CAPS_pubclassLoadTest

Represents the load test being run.

System_CAPS_pubclassLoadTestAbortedEventArgs

Provides data for the LoadTestAborted event.

System_CAPS_pubclassLoadTestConstantLoadProfile

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

System_CAPS_pubclassLoadTestContext

Encapsulates information about the context in which the load test is running.

System_CAPS_pubclassLoadTestGoalBasedLoadProfile

Represents the load profile of a load test that has a goal-based load pattern.

System_CAPS_pubclassLoadTestLoadProfile

Provides an abstract base class for load test profiles.

System_CAPS_pubclassLoadTestPackageExt

Manages the Web test result viewer user interface.

System_CAPS_pubclassLoadTestRunIdNotSetException

The exception that is thrown when a user attempts to access the load test run ID before the run ID has been set.

System_CAPS_pubclassLoadTestRunSettings

Describes the load test run settings in use for the current load test run, as defined in the Load Test Editor.

System_CAPS_pubclassLoadTestScenario

Represents a scenario that is contained in a load test.

System_CAPS_pubclassLoadTestStepLoadProfile

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

System_CAPS_pubclassLoadTestUserContext

Encapsulates information about the user context in which a test is running, in a load test.

System_CAPS_pubclassPerformanceCounterValue

Contains the computed value of a performance counter collected during a load test run.

System_CAPS_pubclassWebTestResultViewerExt.SelectionChangedEventArgs

Provides data for the SelectionChanged event.

System_CAPS_pubclassWebTestResultViewerExt.TestCompletedEventArgs

Provides data for the TestCompleted event.

System_CAPS_pubclassTestFinishedEventArgs

Provides data for the TestFinished event.

System_CAPS_pubclassTestIterationResult

Describes the result of running an individual test case within a load test.

System_CAPS_pubclassTestSelectedEventArgs

Contains the arguments for the TestSelected event.

System_CAPS_pubclassTestStartingEventArgs

Contains the arguments for the TestStarting event.

System_CAPS_pubclassThresholdExceededEventArgs

Provides data for the ThresholdExceeded event.

System_CAPS_pubclassWebTestBaseExt

Base class for Web test windows that enable users to select items.

System_CAPS_pubclassWebTestResultViewer

Wraps a Web test playback window.

System_CAPS_pubclassWebTestResultViewerExt

Represents the Web test playback windows.

System_CAPS_pubclassWebTestResultViewerExt.WindowClosedEventArgs

Provides data for the WndowClosed event.

System_CAPS_pubclassWebTestResultViewerExt.WindowCreatedEventArgs

Provides data for the WindowCreated event.

InterfaceDescription
System_CAPS_pubinterfaceICounterProvider

Defines an interface that an implementation of the IThresholdRule interface can use to obtain the current values of performance counters, other than the performance counter being tested.

System_CAPS_pubinterfaceILoadTestPlugin

Defines an interface that is implemented to allow a user written class to handle events that occur as the load test, and the tests contained within the load test, are run.

System_CAPS_pubinterfaceIThresholdRule

Used to monitor the values of performance counters during a load test run to signal warnings or critical alarms when the value of a performance counters exceeds a threshold.

EnumerationDescription
System_CAPS_pubenumThresholdRuleResult

Specifies the results of applying a threshold rule to a performance counter sample.

Return to top
Show: