Share via


LoadTestRunSettings Class

Describes the load test run settings in use for the current load test run, as defined in the Load Test Editor.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestRunSettings

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

Syntax

'Declaration
Public Class LoadTestRunSettings
public class LoadTestRunSettings
public ref class LoadTestRunSettings
type LoadTestRunSettings =  class end
public class LoadTestRunSettings

The LoadTestRunSettings type exposes the following members.

Properties

  Name Description
Public property Description Gets a description of the run.
Public property Name Gets the name of the run settings in the load test.
Public property RunDuration Gets the number of seconds the load test is to run, not including the WarmupTime.
Public property WarmupTime Gets the number of seconds in the warm-up period.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

AboutRun Settings

How to: Change the Run Settings

Run Settings: Load Test Wizard