Compare commits

..

No commits in common. "e9af46084d7bca1fe804e7aff6d09c599906a113" and "c90cfd8090565456c55ef3367e73490588878bef" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ dodo -u https://example.com -m GET -d 10 -r 1000 -t 2000
```
With Docker:
```sh
docker run --rm -i aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2000
docker run --rm aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2000
```
### 2. JSON config file
@ -85,7 +85,7 @@ dodo -c /path/config.json
```
With Docker:
```sh
docker run --rm -i -v ./path/config.json:/dodo/config.json aykhans/dodo
docker run --rm -v ./path/config.json:/dodo/config.json -i aykhans/dodo
```
### 3. Both (CLI & JSON)
@ -96,7 +96,7 @@ dodo -c /path/config.json -u https://example.com -m GET -d 10 -r 1000 -t 2000
```
With Docker:
```sh
docker run --rm -i -v ./path/config.json:/dodo/config.json aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2000
docker run --rm -v ./path/config.json:/dodo/config.json -i aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2000
```
## CLI and JSON Config Parameters

View File

@ -1,7 +1,7 @@
{
"method": "GET",
"url": "https://example.com",
"no_proxy_check": false,
"no_proxy_check": true,
"timeout": 10000,
"dodos_count": 50,
"request_count": 1000,
@ -19,4 +19,4 @@
"url": "http://example.com:8080"
}
]
}
}