Share via


ValidationLevel Enumeration

Used to identify the importance of a validation rule that is run in a load test.

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

Syntax

'Declaration
Public Enumeration ValidationLevel
public enum ValidationLevel
public enum class ValidationLevel
type ValidationLevel
public enum ValidationLevel

Members

Member name Description
High Load test invokes all validation rules. This equals 2.
Low Load test invokes validation rules with a Low setting. This equals 0.
Medium Load test invokes validation rules with a Low or Medium setting. This equals 1.

Remarks

These enumeration values are ordinal so that they may be compared in code by "less than" and "greater than" operators. ValidationLevel is used in load tests to determine which validation rules are run.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

[retired] How to: Add a Validation Rule to a Web Performance Test

Coding a custom validation rule for a web performance test