haproxy/reg-tests/checks
Christopher Faulet 3970819a55 MEDIUM: checks: Support matching on headers for http-check expect rules
It is now possible to add http-check expect rules matching HTTP header names and
values. Here is the format of these rules:

  http-check expect header name [ -m <meth> ] <name> [log-format] \
                           [ value [ -m <meth> ] <value> [log-format] [full] ]

the name pattern (name ...) is mandatory but the value pattern (value ...) is
optionnal. If not specified, only the header presence is verified. <meth> is the
matching method, applied on the header name or the header value. Supported
matching methods are:

  * "str" (exact match)
  * "beg" (prefix match)
  * "end" (suffix match)
  * "sub" (substring match)
  * "reg" (regex match)

If not specified, exact matching method is used. If the "log-format" option is
used, the pattern (<name> or <value>) is evaluated as a log-format string. This
option cannot be used with the regex matching method. Finally, by default, the
header value is considered as comma-separated list. Each part may be tested. The
"full" option may be used to test the full header line. Note that matchings are
case insensitive on the header names.
2020-05-05 11:19:27 +02:00
..
1be_40srv_odd_health_checks.vtc REGTEST: Adapt regtests about checks to recent changes 2020-04-27 09:39:38 +02:00
4be_1srv_health_checks.vtc REGTEST: Adapt regtests about checks to recent changes 2020-04-27 09:39:38 +02:00
4be_1srv_smtpchk_httpchk_layer47errors.vtc REGTEST: Fix reg-tests about health-checks to adapt them to recent changes 2020-04-27 10:46:28 +02:00
40be_2srv_odd_health_checks.vtc REGTEST: exclude osx and generic targets for 40be_2srv_odd_health_checks 2019-04-25 08:39:48 +02:00
agent-check.vtc REGTEST: checks: Fix sync condition for agent-check 2020-05-05 11:07:00 +02:00
common.pem REGTEST: Add a reg test for health-checks over SSL/TLS. 2019-01-08 10:10:18 +01:00
http-check-expect.vtc MEDIUM: checks: Support matching on headers for http-check expect rules 2020-05-05 11:19:27 +02:00
http-check-send.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
http-check.vtc MINOR: checks: Use ver keyword to specify the HTTP version for http checks 2020-04-28 09:37:01 +02:00
http-monitor-uri.vtc MINOR: http-ana: Match on the path if the monitor-uri starts by a / 2020-02-18 16:29:29 +01:00
ldap-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
mysql-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
pgsql-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
redis-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
smtp-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
spop-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
ssl-hello-check.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
tcp-check_min-recv.vtc MINOR: checks: add min-recv tcp-check expect option 2020-04-27 09:39:37 +02:00
tcp-check_multiple_ports.vtc REGTESTS: server/cli_set_fqdn requires version 1.8 minimum 2019-10-22 13:06:59 +02:00
tcp-check-ssl.vtc REGTEST: Add scripts to test based tcp-check health-checks 2020-04-27 10:46:28 +02:00
tls_health_checks.vtc REGTEST: Fix reg-tests about health-checks to adapt them to recent changes 2020-04-27 10:46:28 +02:00