forked from getanteon/anteon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
69 lines (69 loc) · 1.97 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// This file contains full features of Ddosify as a reference. Don't use it directly.
{
"request_count": 20,
"load_type": "linear",
"duration": 5,
"manual_load": [
{"duration": 5, "count": 5},
{"duration": 6, "count": 10},
{"duration": 7, "count": 20}
],
"proxy": "http://proxy_host.com:proxy_port",
"output": "stdout",
"steps": [
{
"id": 1,
"url": "https://test_site1.com/endpoint_1",
"protocol": "https",
"method": "POST",
"headers": {
"ContenType": "application/xml",
"header1": "header2"
},
"payload": "Body content 1",
"timeout": 3,
"sleep": "300-500",
"auth": {
"username": "test_user",
"password": "12345"
},
"others": {
"keep-alive": true,
"disableCompression": false,
"h2": true,
"disable-redirect": true
}
},
{
"id": 2,
"url": "https://test_site1.com/endpoint_2",
"method": "GET",
"payload_file": "config_examples/payload.txt",
"timeout": 2,
"sleep": "1000"
},
{
"id": 3,
"url": "https://test_site1.com/endpoint_3",
"method": "POST",
"payload_multipart": [
{
"name": "[field-name]",
"value": "[field-value]"
},
{
"name": "[field-name]",
"value": "./test.png",
"type": "file"
},
{
"name": "[field-name]",
"value": "http://test.com/test.png",
"type": "file",
"src": "remote"
}
],
"timeout": 2
}
]
}