Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

About Rules

Web tests and load tests can contain rules that help you analyze the test. Both the Web Test Editor and the Load Test Editor allow you to add rules to tests. The rules perform different functions in each place but are added using the same control in the user interface.

Types of Rules

Validation Rule

Web Test Editor

Validation rules verify that the application is functioning correctly by checking a string on a page against an expected string result.

For more information, see About Validation Rules.

Extraction Rule

Web Test Editor

Extraction rules are used when a piece of data from a specific page must be captured and used by another page.

For more information, see About Extraction Rules.

Threshold Rule

Load Test Editor

Thresholds compare a performance counter value with either a constant value or another performance counter value.

For more information, see About Threshold Rules.

See Also

Community Additions

© 2015 Microsoft