-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_qck.config
66 lines (65 loc) · 2.16 KB
/
sample_qck.config
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
{
"__globalconfig__":
{ "listenerIp":"127.0.0.1",
"listenerPort":"6589",
"server":"127.0.0.1",
"serverPort":"6589",
"loglevel":"1"
},
"test1":
{ "clientrequest":
{ "pathname": "/test1",
"method": "GET",
},
"clientcheck":
{ "statusCode": "200"
},
"serverresponse":
{ "pathname": "/test1",
"method": "GET",
"statusCode": "200",
"body": "Test 1 response here"
}
},
"test2":
{ "clientrequest":
{ "pathname": "/testt2",
"method": "POST",
"filename": "file.sample",
"transrate": "300000",
"transfreq": "25"
},
"serverresponse":
{ "pathname": "/test2",
"method": "POST",
"statusCode": "200"
}
},
"test3":
{ "clientrequest":
{ "pathname": "/test3",
"method": "GET",
},
"clientcheck":
{ "statusCode": "302"
},
"serverresponse":
{ "pathname": "/test3",
"method": "GET",
"statusCode": "302",
"headers": {"Contact":"/test4"},
"body": "Test 3 response here"
},
"servercheck":
{ "headers": {"x-qck-id":"123456789"}
}
},
"test4":
{ "serverresponse":
{ "pathname": "/test4",
"method": "GET",
"statusCode": "200",
"body": "Test 4 response here"
}
}
}