Previous Topic: Ensure Result Contains String AssertionNext Topic: Ensure Property Matches Expression Assertion


Ensure Result Contains Expression Assertion

The Ensure Result Contains Expression assertion lets you verify that a specified regular expression occurs somewhere in the result, as text.

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.

Regular Expression

Defines the regular expression for which to search in the step result. For example, to verify that the result contains a number in the 400s, set this parameter to "4/d/d".

Click Run Assertion to execute the assertion.