-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-template.yml
82 lines (81 loc) · 1.84 KB
/
config-template.yml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
servers:
- http:
port: 8080
responses:
/test:
get:
static:
status: 200
body: all good
showheaders: true
headers:
X-TestHeader: [value]
post:
seq:
- status: 500
body: oops that did not work
- status: 500
body: try again buddy
- status: 200
body: whew now it worked
/delayed:
get:
seq:
- status: 200
body: this response took 0.5 seconds
delay: 500ms
- status: 200
body: this response took 1 second
delay: 1s
/slow:
get:
seq:
- status: 200
body: this is a slow response
rate: 10B/s
- status: 200
body: this is even slower
rate: 1B/s
/loop:
get:
loop:
- status: 200
body: one
- status: 200
body: two
- status: 200
body: three
/big:
get:
static:
status: 200
bigbody:
size: 10M
type: lorem
- tcp:
port: 8081
responses:
read:
bufsize: 1M
write:
bufsize: 1M
type: lorem
delay: 500ms
- websocket:
port: 8082
responses:
/ws:
read:
bufsize: 1M
delay: 1s
write:
bufsize: 1M
type: binary
delay: 1s
/ws2:
read:
bufsize: 1M
write:
bufsize: 100B
type: lorem
delay: 1s