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
'Usage
Dim instance As WebTestRequest 
Dim value As Single 

value = instance.ResponseTimeGoal

instance.ResponseTimeGoal = value
public float ResponseTimeGoal { get; set; }
public:
property float ResponseTimeGoal {
    float get ();
    void set (float value);
}
public function get ResponseTimeGoal () : float 
public 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 there is no goal for this page.

Remarks

In load tests, pages that have a specified ResponseTimeGoal will be reported for by percentage 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

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace