Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
linkxzhou committed May 8, 2023
1 parent 2b6daaf commit 164d902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion http_bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func (h *flagSlice) Set(value string) error {
return nil
}

// StressResult record result
type StressResult struct {
ErrCode int `json:"err_code"`
ErrMsg string `json:"err_msg"`
Expand Down Expand Up @@ -336,6 +337,7 @@ func (result *StressResult) combine(resultList ...StressResult) {
}
}

// StressParameters stress params for worker
type StressParameters struct {
SequenceId int64 `json:"sequence_id"` // Sequence
Cmd int `json:"cmd"` // Commands
Expand Down Expand Up @@ -967,7 +969,7 @@ Options:
-body-file Request body from file.
-listen Listen IP:PORT for distributed stress test and worker mechine (default empty). e.g. "127.0.0.1:12710".
-dashboard Listen dashboard IP:PORT and operate stress params on browser.
-w/W Running distributed stress test worker mechine list. for example, -W "127.0.0.1:12710" -W "127.0.0.1:12711".
-w/W Running distributed stress test worker mechine list. e.g. -w "127.0.0.1:12710" -W "127.0.0.1:12711".
-example Print some stress test examples (default false).
`

Expand Down

0 comments on commit 164d902

Please sign in to comment.