Share via


WebTestRequest.ResponseTimeGoal Property

Gets or sets the response time goal for a particular page.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property ResponseTimeGoal As Single
public float ResponseTimeGoal { get; set; }
public:
property float ResponseTimeGoal {
    float get ();
    void set (float value);
}
member ResponseTimeGoal : float32 with get, set
function get ResponseTimeGoal () : float
function set ResponseTimeGoal (value : float)

Property Value

Type: System.Single
A value that represents the response time goal for a particular page. This is measured in seconds. The default value is zero seconds, which means this page has no goal.

Remarks

In load tests, pages that have a specified ResponseTimeGoal will be reported as a percentage that represents the number of times that the actual response time for the page was less than or equal to the goal.

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace