Skip to content

Commit

Permalink
Exiting on errors. E.g. when an auth token expires, we want to refres…
Browse files Browse the repository at this point in the history
…h it.
  • Loading branch information
xnuter committed Mar 9, 2022
1 parent 20dd1e4 commit f2d7632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ impl BenchmarkConfig {
(@arg IGNORE_CERT: --ignore_cert "Allow self signed certificates.")
(@arg CONN_REUSE: --conn_reuse "If connections should be re-used")
(@arg HTTP2_ONLY: --http2_only "Enforce HTTP/2 only")
(@arg STOP_ON_ERRORS: --error_stop -E ... "Stop immediately on error codes. E.g. `-E 401 -E 403`")
(@arg TARGET: +required ... "Target, e.g. https://my-service.com:8443/8kb Can be multiple ones (with random choice balancing)")
(@arg STOP_ON_ERRORS: --error_stop -E ... "Stop immediately on error codes. E.g. `-E 401 -E 403`")
(@arg METHOD: --method -M +takes_value "Method. By default GET")
(@arg HEADER: --header -H ... "Headers in \"Name:Value\" form. Can be provided multiple times.")
(@arg BODY: --body -B +takes_value "Body of the request. Could be either `random://[0-9]+`, `file://$filename` or `base64://${valid_base64}`. Optional.")
Expand Down

0 comments on commit f2d7632

Please sign in to comment.