Documentation ¶
Overview ¶
Command line utility bombardier is a fast cross-platform HTTP benchmarking tool written in Go.
Installation:
go get -u github.com/codesenberg/bombardier
Usage:
bombardier [<flags>] <url>
Flags:
--help Show context-sensitive help (also try --help-long and --help-man). --version Show application version. -c, --connections=125 Maximum number of concurrent connections -t, --timeout=2s Socket/request timeout -l, --latencies Print latency statistics -m, --method=GET Request method -b, --body="" Request body -f, --body-file="" File to use as request body -s, --stream Specify whether to stream body using chunked transfer encoding or to serve it from memory --cert="" Path to the client's TLS Certificate --key="" Path to the client's TLS Certificate Private Key -k, --insecure Controls whether a client verifies the server's certificate chain and host name -H, --header="K: V" ... HTTP headers to use(can be repeated) -n, --requests=[pos. int.] Number of requests -d, --duration=10s Duration of test -r, --rate=[pos. int.] Rate limit in requests per second --fasthttp Use fasthttp client --http1 Use net/http client with forced HTTP/1.x --http2 Use net/http client with enabled HTTP/2.0
Args:
<url> Target's URL
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
utils/simplebenchserver
Simple HTTP server used for benchmarking.
|
Simple HTTP server used for benchmarking. |
Click to show internal directories.
Click to hide internal directories.