LoadTestScenario Class

Represents a scenario that is contained within a load test.

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

Syntax

'Declaration
Public Class LoadTestScenario
'Usage
Dim instance As LoadTestScenario
public class LoadTestScenario
public ref class LoadTestScenario
public class LoadTestScenario

Remarks

Using a load test plug-in, a LoadTestScenario object is used to override the specified user load in the load test to control the user load programmatically. This is accomplished by accessing the individual load test scenarios represented by LoadTestScenario objects that are contained in the LoadTestScenarios collection.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestScenario

Thread Safety

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

See Also

Reference

LoadTestScenario Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

Understanding Load Tests

Working with Load Tests

How to: Create a Load Test Plug-In

About Scenarios

How to: Add Scenarios to a Load Test