HTTP::WebTest::Plugin::TextMatchTest - Test the content of the HTTP response.


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.

Index


NAME

Top

HTTP::WebTest::Plugin::TextMatchTest - Test the content of the HTTP response.

SYNOPSIS

Top

Not Applicable

DESCRIPTION

Top

This plugin supports test on the content of the HTTP response. You can test for the existence or non-existence of a literal string or a regular expression.

TEST PARAMETERS

Top

ignore_case

Option to do case-insensitive string matching for text_forbid, text_require, regex_forbid and regex_require test parameters.

Allowed values

yes, no

Default value

no

text_forbid

List of text strings that are forbidden to exist in the returned page.

See also the regex_forbid and ignore_case parameters.

text_require

List of text strings that are required to exist in the returned page.

See also the regex_require and ignore_case parameters.

regex_forbid

List of regular expressions that are forbidden to exist in the returned page.

For more information, see perldoc perlre (perlre) or see Programming Perl, 3rd edition, Chapter 5.

See also the text_forbid and ignore_case parameters.

regex_require

List of regular expressions that are required to exist in the returned page.

For more information, see perldoc perlre (perlre) or see Programming Perl, 3rd edition, Chapter 5.

See also the text_require and ignore_case parameters.

COPYRIGHT

Top

SEE ALSO

Top

HTTP::WebTest

HTTP::WebTest::API (HTTP::WebTest::API)

HTTP::WebTest::Plugin

HTTP::WebTest::Plugins (HTTP::WebTest::Plugins)


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.