Webtest WebTest GitHub Home

Filter Step replaceFilter

Description

Replaces part of a response with some constant data. For use with steps which take a ContentFilter.

Parameters

regex
Required? yes
The regex matching content to replace.
description
Required? no
The description of this test step.
replacement
Required? no, default is [REMOVED]
The regex replacement string.

Details

See the verifyContent step for some examples of using this content filter.