NAME
HTTP::WebTest::Plugin::TextMatchTest - Test the content of the HTTP response.
SYNOPSIS
Not Applicable
DESCRIPTION
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
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 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 or see Programming Perl, 3rd edition, Chapter 5.
See also the text_require
and ignore_case
parameters.
COPYRIGHT
Copyright (c) 2000-2001 Richard Anderson. All rights reserved.
Copyright (c) 2001-2002 Ilya Martynov. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.