Applies to LoadComplete 4.97, last modified on May 20, 2019

About the Validators Panel

On the Validators panel, you view and create validation rules for server responses (HTTP requests) and WebSocket server messages. A validation rule compares a variable that stores data extracted from the response with another variable or constant value. When LoadComplete processes the server response (or server message), it first uses Data Selectors to extract data from the response to variables, and then compares the variable contents with variables or constant values using the validation rules.

LoadComplete uses the panel for these operations:

Here are sample views of the panel:

HTTP Requests

Data Selectors Tab

Click the image to enlarge it.

By default, the Validators panel is on the Response page
of the Request operation editor (as validators apply to responses).

WebSocket Server Messages

Data Selectors Tab

Click the image to enlarge it.

Each row in the panel corresponds to a validation rule. The Variable cell contains the name of the variable to be compared with the baseline value from the Variable or Value cell. The Operation column specifies verification condition (Contains, Equals, and so on).

Using Validators

Creating, Editing and Deleting Validators

To add a new validation rule

To edit a validation rule

To delete a validation rule

Notes
  • You can create several rules for checking the same variable.

  • Variable names should start with the @ symbol, that is, @variable_name.

See Also

About Validating Response Contents
Creating Validation Rules
Request Operation
WebSocket Connection Operation
WebSocket Server Message Operation
Scenario Editor - Common Tasks

Highlight search results