Previous Topic: Check HTML for Properties in PageNext Topic: Check HTTP Response Code


Ensure HTTP Header Contains Expression

The Ensure HTTP Header Contains Expression assertion lets you check that a specific HTTP result header contains a field that matches a specified regular expression.

Complete the following fields:

Name

Defines the name of the assertion.

If

Specifies the behavior of the assertion from the drop-down list.

then

Specifies the step to which to redirect if the assertion fires.

Log

Identifies event text to print if the assertion fires.

Header Field

The name of the header field.

RegExpression

The regular expression that must appear in the header field.

Click Run Assertion to execute the assertion.