Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Change every reference to QPS

Jeffrey D299f193948da
diff --git a/hey.go b/hey.go
index 1265682..e0ae58c 100644
--- a/hey.go
+++ b/hey.go
@@ -194,7 +194,7 @@ func main() {
RequestBody: *body,
N: num,
C: conc,
- Qps: q,
+ QPS: q,
Timeout: *t,
DisableCompression: *disableCompression,
DisableKeepAlives: *disableKeepAlives,
diff --git a/requester/requester_test.go b/requester/requester_test.go
index 69b05a5..e76dc78 100644
--- a/requester/requester_test.go
+++ b/requester/requester_test.go
@@ -59,7 +59,7 @@ func TestQps(t *testing.T) {
Request: req,
N: 20,
C: 2,
- Qps: 1,
+ QPS: 1,
}
wg.Add(1)
time.AfterFunc(time.Second, func() {