.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11. .TH HEY "1" "October 2019" "hey 0.1.2" "User Commands" .SH NAME hey \- HTTP load generator, formerly known as rakyll/boom .SH SYNOPSIS .B hey [\fI\,options\/\fR...] \fI\,\/\fR .SH OPTIONS .TP \fB\-n\fR Number of requests to run. Default is 200. .TP \fB\-c\fR Number of requests to run concurrently. Total number of requests cannot be smaller than the concurrency level. Default is 50. .TP \fB\-q\fR Rate limit, in queries per second (QPS). Default is no rate limit. .TP \fB\-z\fR Duration of application to send requests. When duration is reached, application stops and exits. If duration is specified, n is ignored. Examples: \fB\-z\fR 10s \fB\-z\fR 3m. .TP \fB\-o\fR Output type. If none provided, a summary is printed. "csv" is the only supported alternative. Dumps the response metrics in comma\-separated values format. .TP \fB\-m\fR HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS. .TP \fB\-H\fR Custom HTTP header. You can specify as many as needed by repeating the flag. For example, \fB\-H\fR "Accept: text/html" \fB\-H\fR "Content\-Type: application/xml" . .TP \fB\-t\fR Timeout for each request in seconds. Default is 20, use 0 for infinite. .TP \fB\-A\fR HTTP Accept header. .TP \fB\-d\fR HTTP request body. .TP \fB\-D\fR HTTP request body from file. For example, \fI\,/home/user/file.txt\/\fP or ./file.txt. .TP \fB\-T\fR Content\-type, defaults to "text/html". .TP \fB\-a\fR Basic authentication, username:password. .TP \fB\-x\fR HTTP Proxy address as host:port. .HP \fB\-h2\fR Enable HTTP/2. .HP \fB\-host\fR HTTP Host header. .TP \fB\-disable\-compression\fR Disable compression. .TP \fB\-disable\-keepalive\fR Disable keep\-alive, prevents re\-use of TCP connections between different HTTP requests. .TP \fB\-disable\-redirects\fR Disable following of HTTP redirects .TP \fB\-cpus\fR Number of used cpu cores. (default for current machine is 4 cores) .SH "SEE ALSO" The full documentation for .B hey is maintained as a Texinfo manual. If the .B info and .B hey programs are properly installed at your site, the command .IP .B info hey .PP should give you access to the complete manual.