c-icap-stretch(8)
πΈ NAME πΈ
c-icap-stretch β a simple little utility for stretching ICAP servers, and when I say stretching I mean stress-testing, bestie. It's from the c-icap manual, section 8 (system manager's manual), so it's a grown-up admin tool, but we're gonna make it cute.
β¨ SYNOPSIS β¨
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 ...
Like, that's the whole vibe right there. Flags, files, go π
π¦ DESCRIPTION π¦
Okay so c-icap-stretch is a simple utility for loading ICAP servers. That's it, that's the whole job description. You point it at an ICAP server and it just sends it β over and over β to see how the server holds up under pressure. Main character energy for the server, honestly.
π OPTIONS π
-Vβ Print version. Just the version, nothing else, she's lowkey mysterious.-VVβ Print build informations. Yeah, double the V, double the info π«Ά-iicap_servername β The hostname or the IP address of the ICAP server. Default?localhost, obviously, because we're all just hanging out on our own machine.-pport β The ICAP server port. The default port value is1344.-sservice β The service name. The default service name is"echo". Cute name, no notes.-urlsfilename β A file with HTTP urls, one url per line, that you use for the stress test. The utility takes these urls and uses them to construct random HTTP requests. Chaos, but make it structured β¨-bUbase_url β A base HTTP URL you use as a template to build HTTP requests. The final HTTP url gets built from thebase_urlplus the path of the file that's being used as body data. Template girlie behavior.-reqβ Send ICAP request modification requests (reqmod). Periodt.-mmax-requests β The maximum requests to send. Your ceiling, your limit, your "we stop here."-tthreads-number β The number of client threads to start. More threads, more drama π-dlevel β debug level info to stdout. Turn it up when you wanna see everything.-xicap-header β Include the icap-header in the ICAP request headers.-hxhttp-request-header β Include the http-request-header in the HTTP request headers.-rhxhttp-response-header β Include the http-response-header in the HTTP response headers.-OOutputDirectory β Output metadata (the ICAP and HTTP headers) plus the HTTP responses body data under this directory. She's a saver, she's an archivist, she keeps receipts π--max-requests-to-savefiles-number β Sets the maximum requests to save when the-Oparameter is used. By default no more than4096requests are saved. (In the synopsis this one's written as--max-requests-to-save, requests-numberβ same flag, different nickname, iykyk.)- file1 file2 ... β The files to use as body data to the ICAP requests. Feed her, she's hungry π
π SEE ALSO π
c-icap(8) c-icap-client(8) c-icap-config(8) c-icap-libicapapi-config(8) c-icap-mkbdb(8)
The whole friend group, go say hi π
π BUGS π
Not me being the bearer of bad news, but: it can used only for ICAP response modification services. So if you were hoping for request modificationβ¦ that's literally not this girl. (Yeah, the original says "It can used only for" β we keep the facts, we keep the words, no cap.)
β AUTHOR β
Tsantilas Christos β the icon, the legend, the one who wrote it π
And that's the whole page, bestie! This one shipped with c_icap 0.6.5, from the System Manager's Manual era of c-icap-stretch(8) β go stretch something responsibly, mwah π
π¦ where this page comes from
- epel 10: c-icap 0.6.5-1.el10_3 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- epel 9: c-icap 0.6.5-1.el9 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: c-icap 0.6.5-1.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: c-icap 0.6.5-1.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms