Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Update README and usage string.

Gene Hazan167579675217
diff --git a/README.md b/README.md
index 92410d2..8506396 100644
--- a/README.md
+++ b/README.md
@@ -31,11 +31,11 @@ Usage: hey [options...] <url>
Options:
-n Number of requests to run.
-c Number of requests to run concurrently. Total number of requests cannot
- be smaller than the concurency level.
+ be smaller than the concurrency level.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
- metrics in comma-seperated values format.
+ metrics in comma-separated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-H Custom HTTP header. You can specify as many as needed by repeating the flag.
diff --git a/hey.go b/hey.go
index 1265682..b81b7e6 100644
--- a/hey.go
+++ b/hey.go
@@ -75,13 +75,13 @@ var (
var usage = `Usage: hey [options...] <url>
Options:
- -n Number of requests to run.
+ -n Number of requests to run. Default is 200.
-c Number of requests to run concurrently. Total number of requests cannot
- be smaller than the concurency level.
+ be smaller than the concurrency level. Default is 50.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
- metrics in comma-seperated values format.
+ metrics in comma-separated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-H Custom HTTP header. You can specify as many as needed by repeating the flag.