Transaction Box - a transaction tool box plugin for Apache Traffic Server.
For more detail see the documentation.
Transaction Box, or "txn_box", grew from several sources. The primary goals were to
-
Provide a better, single plugin to replace a variety of inconsistent plugins such as header_rewrite, regex_remap, ssl_headers, cookie_remap, cache_key, conf_remap, and others.
-
Be a test bed for restructuring Traffic Server remapping to take advantage of YAML.
-
Drive development of libswoc++. Nothing improves code like the author having to use it.
The automated end to end tests are written using the AuTest test framework. To run the tests, build the following required dependencies:
- The package "python3-devel" -
sudo dnf install python3-devel
- Build the
txn_box
Sconstruct target. - Build traffic_server
- Build Proxy Verifier
Now, run the tests like so:
cd test/autest/
./autest.sh \
<path/to/trafficserver_src> \
--ats-bin <path/to/built/trafficserver/bin> \
--proxy-verifier-bin <path/to/built/proxy-verifier/bin>