Skip to content

Commit b46bf62

Browse files
Fixes the usage
1 parent bd13c92 commit b46bf62

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,19 @@ Goad will read your credentials from `~/.aws/credentials` or from the `AWS_ACCES
5555
```sh
5656
# Get help:
5757
$ goad -h
58-
Usage of ./build/osx/x86-64/goad:
58+
Usage of goad:
5959
-c uint
6060
number of concurrent requests (default 10)
61+
-m string
62+
HTTP method (default "GET")
6163
-n uint
6264
number of total requests to make (default 1000)
6365
-r string
64-
AWS region (default "us-east-1")
66+
AWS regions to run in (comma separated, no spaces) (default "us-east-1")
6567
-t uint
6668
request timeout in seconds (default 15)
69+
-u string
70+
URL to load test (required)
6771

6872
# For example:
6973
$ goad -n 1000 -c 5 https://example.com

site/src/js/components/results.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default class Results extends React.Component {
128128
return (
129129
<div className="panel panel-results test-results">
130130
<div className="panel-heading">
131-
<h3 className="panel-title">$ goad -n {this.state.tot} -c {this.state.c} -m GET {this.props.url} {socket}</h3>
131+
<h3 className="panel-title">$ goad -n {this.state.tot} -c {this.state.c} -m GET -u "{this.props.url}" {socket}</h3>
132132
</div>
133133
<div className="panel-body">
134134
<pre>{this.resultsHandler()}{cursor}</pre>

0 commit comments

Comments
 (0)