mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-18 18:39:43 +00:00
✨ 'no-proxy-check' parameter to docs
This commit is contained in:
parent
9679fb1c7a
commit
5080e90872
29
README.md
29
README.md
@ -101,17 +101,18 @@ docker run --rm -v ./path/config.json:/dodo/config.json -i aykhans/dodo -u https
|
||||
## CLI and JSON Config Parameters
|
||||
If the Headers, Params, Cookies and Body fields have multiple values, each request will choose a random value from the list.
|
||||
|
||||
| Parameter | JSON config file | CLI Flag | CLI Short Flag | Type | Description | Default |
|
||||
| ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- |
|
||||
| Config file | - | --config-file | -c | String | Path to the JSON config file | - |
|
||||
| Yes | - | --yes | -y | Boolean | Answer yes to all questions | false |
|
||||
| URL | url | --url | -u | String | URL to send the request to | - |
|
||||
| Method | method | --method | -m | String | HTTP method | GET |
|
||||
| Request count | request_count | --request-count | -r | Integer | Total number of requests to send | 1000 |
|
||||
| Dodos count (Threads) | dodos_count | --dodos-count | -d | Integer | Number of dodos (threads) to send requests in parallel | 1 |
|
||||
| Timeout | timeout | --timeout | -t | Integer | Timeout for canceling each request (milliseconds) | 10000 |
|
||||
| Params | params | - | - | Key-Value {String: [String]} | Request parameters | - |
|
||||
| Headers | headers | - | - | Key-Value {String: [String]} | Request headers | - |
|
||||
| Cookies | cookies | - | - | Key-Value {String: [String]} | Request cookies | - |
|
||||
| Body | body | - | - | [String] | Request body | - |
|
||||
| Proxy | proxies | - | - | List[Key-Value {string: string}] | List of proxies (will check active proxies before sending requests) | - |
|
||||
| Parameter | JSON config file | CLI Flag | CLI Short Flag | Type | Description | Default |
|
||||
| --------------------- | ---------------- | --------------- | -------------- | -------------------------------- | ------------------------------------------------------------------- | ----------- |
|
||||
| Config file | - | --config-file | -c | String | Path to the JSON config file | - |
|
||||
| Yes | - | --yes | -y | Boolean | Answer yes to all questions | false |
|
||||
| URL | url | --url | -u | String | URL to send the request to | - |
|
||||
| Method | method | --method | -m | String | HTTP method | GET |
|
||||
| Request count | request_count | --request-count | -r | Integer | Total number of requests to send | 1000 |
|
||||
| Dodos count (Threads) | dodos_count | --dodos-count | -d | Integer | Number of dodos (threads) to send requests in parallel | 1 |
|
||||
| Timeout | timeout | --timeout | -t | Integer | Timeout for canceling each request (milliseconds) | 10000 |
|
||||
| No Proxy Check | no_proxy_check | --no-proxy-check| - | Boolean | Disable proxy check | false |
|
||||
| Params | params | - | - | Key-Value {String: [String]} | Request parameters | - |
|
||||
| Headers | headers | - | - | Key-Value {String: [String]} | Request headers | - |
|
||||
| Cookies | cookies | - | - | Key-Value {String: [String]} | Request cookies | - |
|
||||
| Body | body | - | - | [String] | Request body | - |
|
||||
| Proxy | proxies | - | - | List[Key-Value {string: string}] | List of proxies (will check active proxies before sending requests) | - |
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"method": "GET",
|
||||
"url": "https://example.com",
|
||||
"no_proxy_check": false,
|
||||
"timeout": 10000,
|
||||
"dodos_count": 50,
|
||||
"request_count": 1000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user