Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions apinighthawk/nighthawk.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,14 @@ func NighthawkRun(config *NighthawkConfig) ([]byte, error) {

args := []string{"--rps " + qps,
"--connections " + c,
"--concurrency 1",
"--duration " + duration,
rURL.String(),
"--output-format experimental_fortio_pedantic"}

log.Info("Received arguments for run", args)

out, err := exec.Command("nighthawk_client",
"--rps "+qps,
"--concurrency 1",
"--connections "+c,
"--duration "+duration,
rURL.String(),
"--output-format experimental_fortio_pedantic").Output()
out, err := exec.Command("nighthawk_client", args...).Output()

if err != nil {
msg := "Unable to run load-test"
Expand Down