diff --git a/apinighthawk/nighthawk.go b/apinighthawk/nighthawk.go index 557b24d5..f857a0a4 100644 --- a/apinighthawk/nighthawk.go +++ b/apinighthawk/nighthawk.go @@ -53,7 +53,8 @@ func NighthawkRun(config *NighthawkConfig) ([]byte, error) { "envoyproxy/nighthawk-dev:latest", "nighthawk_client", "--rps "+qps, - "--concurrency "+c, + "--concurrency 1", + "--connections "+c, "--duration "+duration, rURL.String(), "--output-format experimental_fortio_pedantic").Output() diff --git a/cmd/main.go b/cmd/main.go index 26362cbb..4965ad64 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -21,9 +21,9 @@ func init() { func main() { // Duration in seconds nighthawk default format testConfig := &apinighthawk.NighthawkConfig{ - Thread: 1, + Thread: 2, DurationInSeconds: 5, - QPS: 1, + QPS: 2, URL: "https://www.github.com", }