ValidationRuleRequestTime Class

Validates that the response for a request is returned within the specified period of time.

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

Syntax

'Declaration
Public Class ValidationRuleRequestTime _
    Inherits ValidationRule
'Usage
Dim instance As ValidationRuleRequestTime
public class ValidationRuleRequestTime : ValidationRule
public ref class ValidationRuleRequestTime : public ValidationRule
public class ValidationRuleRequestTime extends ValidationRule

Remarks

This is used to check that the response time for a request is less than or equal to the maximum response time expected for the page.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.ValidationRule
    Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleRequestTime

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

ValidationRuleRequestTime Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace

Other Resources

How to: Create a Custom Validation Rule

How to: Add a Validation Rule to a Web Test