Description

This plugin greps every response for a user defined regex. You can specify a single regex or an entire file of regexes (each line one regex), if both are specified, the single_regex will be added to the list of regular expressions extracted from the file. A list of example regular expressions can be found at: “plugins/grep/user_defined_regex/”. For every match an information message is shown.

Plugin type

Grep

Options

Name Type Default Value Description Help
single_regex regex Single regex to use in the grep process. No detailed help available
regex_file_path input_file plugins/grep/user_defined_regex/empty.txt Path to file with regular expressions to use in the grep process. Attention: The file will be loaded line by line into memory, because the regex will be pre-compiled in order to achieve better performance during the scan process.

A list of example regular expressions can be found at “plugins/grep/user_defined_regex/”.

Source

For more information about this plugin and the associated tests, there’s always the source code to understand exactly what’s under the hood:
github-logoPlugin source code
Unittest source code

Dependencies

This plugin has no dependencies.