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.
Classes
Class | Description | |
---|---|---|
HeartbeatEventArgs | Provides data for the HeartBeat event. | |
InvalidLoadProfileException | 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. | |
LoadTest | Represents the load test being run. | |
LoadTestAbortedEventArgs | Provides data for the LoadTestAborted event. | |
LoadTestConstantLoadProfile | Represents the load profile of a load test that has a constant load pattern. | |
LoadTestContext | Encapsulates information about the context in which the load test is running. | |
LoadTestGoalBasedLoadProfile | Represents the load profile of a load test that has a goal-based load pattern. | |
LoadTestLoadProfile | Provides an abstract base class for load test profiles. | |
LoadTestPackageExt | Manages the Web test result viewer user interface. | |
LoadTestRunIdNotSetException | The exception that is thrown when a user attempts to access the load test run ID before the run ID has been set. | |
LoadTestRunSettings | Describes the load test run settings in use for the current load test run, as defined in the Load Test Editor. | |
LoadTestScenario | Represents a scenario that is contained in a load test. | |
LoadTestStepLoadProfile | Represents the load profile of a load test that has a step load pattern. | |
LoadTestUserContext | Encapsulates information about the user context in which a test is running, in a load test. | |
PerformanceCounterValue | Contains the computed value of a performance counter collected during a load test run. | |
TestFinishedEventArgs | Provides data for the TestFinished event. | |
TestIterationResult | Describes the result of running an individual test case within a load test. | |
TestSelectedEventArgs | Contains the arguments for the TestSelected event. | |
TestStartingEventArgs | Contains the arguments for the TestStarting event. | |
ThresholdExceededEventArgs | Provides data for the ThresholdExceeded event. | |
WebTestBaseExt | Base class for Web test windows that enable users to select items. | |
WebTestResultViewer | Wraps a Web test playback window. | |
WebTestResultViewerExt | Represents the Web test playback windows. | |
WebTestResultViewerExt.SelectionChangedEventArgs | Provides data for the SelectionChanged event. | |
WebTestResultViewerExt.TestCompletedEventArgs | Provides data for the TestCompleted event. | |
WebTestResultViewerExt.WindowClosedEventArgs | Provides data for the WndowClosed event. | |
WebTestResultViewerExt.WindowCreatedEventArgs | Provides data for the WindowCreated event. |
Interfaces
Interface | Description | |
---|---|---|
ICounterProvider | 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. | |
ILoadTestPlugin | 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. | |
IThresholdRule | 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. |
Enumerations
Enumeration | Description | |
---|---|---|
ThresholdRuleResult | Specifies the results of applying a threshold rule to a performance counter sample. |
See Also
Reference
Other Resources
Working with Load Tests Overview