We recommend using Visual Studio 2017
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

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 LoadTest Scenarios 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.