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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.LoadTesting Namespace