]> git.kaiwu.me - haproxy.git/commit
REGTESTS: stick-table: test the traffic counters of the stick counters
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Sep 2026 20:28:13 +0000 (20:28 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 14:55:57 +0000 (16:55 +0200)
commit9a7db2d760ac2c25cf77f17dfe45238f649c8322
treeb36a804d7ec08915b8dc1f1bfe5e4564abd70160
parentde8f9bab5fcbf32b7f8bbe929a15e8570a1f8369
REGTESTS: stick-table: test the traffic counters of the stick counters

The connection, session, request, error, failure and byte counters of
the stick tables had no coverage, nor had the sc_*, sc0_*, src_* and
table_* families giving access to them, nor sc_key, sc_tracked,
sc_trackers, table_trackers, table_server_id, table_expire, table_idle,
in_table, table_avl and table_cnt.

A single client connection issues a normal request, a request denied
with a 403 and a request answered with a 500 by the server so that the
request, error and failure counters all move, and the three access
families are compared against each other at each step.

The values are grouped into a few headers because vtest only parses a
limited number of them.
reg-tests/stick-table/sc_counters.vtc [new file with mode: 0644]