-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest_mocks.yaml
More file actions
67 lines (67 loc) · 1.35 KB
/
test_mocks.yaml
File metadata and controls
67 lines (67 loc) · 1.35 KB
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
metadata: {}
name: sample_mocks
responses:
- body:
created_at: '2023-01-01T00:00:00Z'
email: john@example.com
id: '{{user_id}}'
name: '{{name}}'
conditions: []
created_at: 1753377970.7345352
delay_ms: 0
description: null
error_probability: 0.0
headers:
Content-Type: application/json
X-Mock-Response: 'true'
method: GET
name: GET__users_123
path: /users/123
priority: 0
response_type: templated
status_code: 200
tags: []
template_vars:
name: John Doe
user_id: '123'
updated_at: 1753377970.7345355
- body:
error: true
message: Not found
status_code: 404
conditions: []
created_at: 1753377970.7345474
delay_ms: 0
description: null
error_probability: 0.0
headers:
Content-Type: application/json
X-Mock-Response: 'true'
method: GET
name: GET_*
path: '*'
priority: 0
response_type: static
status_code: 404
tags: []
template_vars: {}
updated_at: 1753377970.7345474
- body:
message: Response delayed
conditions: []
created_at: 1753377970.7345538
delay_ms: 1000
description: null
error_probability: 0.0
headers:
Content-Type: application/json
X-Mock-Response: 'true'
method: GET
name: GET__slow-endpoint
path: /slow-endpoint
priority: 0
response_type: static
status_code: 200
tags: []
template_vars: {}
updated_at: 1753377970.7345538