htproxy(1)

htproxy1

Record a http session

Usage

htproxy [OPTIONS]

Overview

htproxy do record a HTTP session as a httest script

Options

-v --version

Print version number and exit

-h --help

Display usage information (this message)

-p --port

Port

-d --dest

Destination file, default file is "file"

-u --url-filter

URL filter regex default is none (blacklist)

-l --log-level

Log level 0-4

-H --host-var

Variable name for host

-P --port-var

Variable name for port

-U --root-var

Web application root variable name

-A --host-header-var Variable name for host header value

-t --socket-tmo

Socket timeout [ms], default 30000 ms

-i --header-file

File with header text

-e --trailer-file

File with trailer text

-c --cookie-prefix

Cookie variable prefix, default is COOKIE_

-C --config

Configuration file

Example: htproxy -p 8888 -d init -H HOST -P PORT -u "(.*\.png\;.*$)|(.*\.css\;.*$)|(.*\.ico\;.*$)|(.*\.js\;.*$)"

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Written by Christian Liesch

From httest 2.4.23-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.