This documentation is archived and is not being maintained.

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.

Public classHeartbeatEventArgsProvides data for the HeartBeat event.
Public classInvalidLoadProfileExceptionThis 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.
Public classLoadTestRepresents the load test being run.
Public classLoadTestAbortedEventArgsProvides data for the LoadTestAborted event.
Public classLoadTestConstantLoadProfileRepresents the load profile of a load test that has a constant load pattern.
Public classLoadTestContextEncapsulates information about the context in which the load test is running.
Public classLoadTestGoalBasedLoadProfileRepresents the load profile of a load test that has a goal-based load pattern.
Public classLoadTestLoadProfileProvides an abstract base class for load test profiles.
Public classLoadTestPackageExtManages the Web test result viewer user interface.
Public classLoadTestRunIdNotSetExceptionThe exception that is thrown when a user attempts to access the load test run ID before the run ID has been set.
Public classLoadTestRunSettingsDescribes the load test run settings in use for the current load test run, as defined in the Load Test Editor.
Public classLoadTestScenarioRepresents a scenario that is contained in a load test.
Public classLoadTestStepLoadProfileRepresents the load profile of a load test that has a step load pattern.
Public classLoadTestUserContextEncapsulates information about the user context in which a test is running, in a load test.
Public classPerformanceCounterValueContains the computed value of a performance counter collected during a load test run.
Public classTestFinishedEventArgsProvides data for the TestFinished event.
Public classTestIterationResultDescribes the result of running an individual test case within a load test.
Public classTestSelectedEventArgsContains the arguments for the TestSelected event.
Public classTestStartingEventArgsContains the arguments for the TestStarting event.
Public classThresholdExceededEventArgsProvides data for the ThresholdExceeded event.
Public classWebTestBaseExtBase class for Web test windows that enable users to select items.
Public classWebTestResultViewerWraps a Web test playback window.
Public classWebTestResultViewerExtRepresents the Web test playback windows.
Public classWebTestResultViewerExt.SelectionChangedEventArgsProvides data for the SelectionChanged event.
Public classWebTestResultViewerExt.TestCompletedEventArgsProvides data for the TestCompleted event.
Public classWebTestResultViewerExt.WindowClosedEventArgsProvides data for the WndowClosed event.
Public classWebTestResultViewerExt.WindowCreatedEventArgsProvides data for the WindowCreated event.

Public interfaceICounterProviderDefines 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.
Public interfaceILoadTestPluginDefines 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.
Public interfaceIThresholdRuleUsed 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.

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