c-icap-stretch - A simple utility for stretching ICAP servers
c-icap-stretch [ -V ] [ -VV ] [ -i
icap_servername ] [ -p port ] [ -s service ] [ -urls
filename ] [ -bU base_url ] [ -req ] [ -m
max-requests ] [ -t threads-number ] [ -d debug level ] [
-x icap-header ] [ -hx http-request-header ] [ -rhx
http-response-header ] [ -O OutputDirectory ] [
--max-requests-to-save, requests-number ] file1 file2 ...
c-icap-stretch is a simple utility for loading ICAP
servers.
- -V
- Print version
- -VV
- Print build informations
- -i icap_servername
- The hostname or the IP address of the ICAP server. The default is
localhost
- -p port
- The ICAP server port. The default port value is 1344
- -s service
- The service name. The default service name is "echo"
- -urls filename
- File with HTTP urls, one url per line, to use for stress test. The utility
uses these urs to construct random HTTP requests.
- -bU base_url
- Base HTTP URL to use it as template to build HTTP requests. The final HTTP
url is built using the base_url and the path of the file used as body
data.
- -req
- Send ICAP request modification requests (reqmod)
- -m max-requests
- The maximum requests to send
- -t threads-number
- The number of client threads to start
- -d level
- debug level info to stdout
- -x icap-header
- Include the icap-header in ICAP request headers
- -hx http-request-header
- Include the http-request-header in HTTP request headers
- -rhx
http-response-header
- Include the http-response-header in HTTP response headers
- -O OutputDirectory
- Output metadata (ICAP and HTTP headers) and HTTP responses body data under
this directory.
- --max-requests-to-save
files-number
- Sets the maximum requests to save when the -O parameter is used. By
default no more than 4096 requests are saved.
- file1 file2 ...
- The files to use as body data to the ICAP requests.
c-icap(8) c-icap-client(8) c-icap-config(8)
c-icap-libicapapi-config(8) c-icap-mkbdb(8)
It can used only for ICAP response modification services.