Partager via


LoadTestRunSettings.RunDuration Property

Gets the number of seconds the load test is to run, not including the WarmupTime.

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

Syntax

'Declaration
Public ReadOnly Property RunDuration As Integer
public int RunDuration { get; }
public:
property int RunDuration {
    int get ();
}
member RunDuration : int with get
function get RunDuration () : int

Property Value

Type: Int32
The number of seconds the load test is to run.

Remarks

This can be set in the Load Test Editor by highlighting a Run Setting node and pressing F4. This will display properties for the run configuration.

.NET Framework Security

See Also

Reference

LoadTestRunSettings Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

About Run Settings

How to: Change the Run Settings