LoadTestLoadProfile.ScenarioName Property

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
'Usage
Dim instance As LoadTestLoadProfile 
Dim value As String 

value = instance.ScenarioName

instance.ScenarioName = value
public string ScenarioName { get; internal set; }
public:
property String^ ScenarioName {
    String^ get ();
    void set (String^ value);
}
public function get ScenarioName () : String 
public function set ScenarioName (value : String)

Property Value

Type: System.String

Remarks

Changes to any of the properties of any of the LoadTestLoadProfile classes should all be made before you assign the LoadTestLoadProfile object to the LoadProfile property of the LoadTestScenario. After the LoadTestLoadProfile object has been assigned to the LoadProfile property, it becomes a read-only version. An exception will be thrown if you try to set any of the properties of the LoadProfile object while it is in the read-only state. To get a new writable LoadProfile object, call the Copy() method as shown in example under LoadTestGoalBasedLoadProfile.

.NET Framework Security

See Also

Reference

LoadTestLoadProfile Class

LoadTestLoadProfile Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace