Partager via


LoadTestLoadProfile.ScenarioName Property

Gets or sets the name of the scenario in the load test that the load profile implementation is controlling.

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

Syntax

'Declaration
Public Property ScenarioName As String
public string ScenarioName { get; internal set; }
public:
property String^ ScenarioName {
    String^ get ();
    internal: void set (String^ value);
}
member ScenarioName : string with get, internal set
function get ScenarioName () : String 
internal function set ScenarioName (value : String)

Property Value

Type: String
The name of the scenario in the load test that the load profile implementation is controlling.

Remarks

Changes to any of the properties should all be made before you assign a profile to the LoadProfile property. For an example, see LoadTestGoalBasedLoadProfile.

.NET Framework Security

See Also

Reference

LoadTestLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

LoadTestScenario

LoadTestGoalBasedLoadProfile