This documentation is archived and is not being maintained.

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)

public class LoadTestScenario
public class LoadTestScenario
public class LoadTestScenario

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.


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