insomnia/packages/insomnia-smoke-test/fixtures/mock-server.yaml

71 lines
1.9 KiB
YAML
Raw Normal View History

_type: export
__export_format: 4
__export_date: 2024-02-13T08:30:28.222Z
__export_source: insomnia.desktop.app:v8.6.1
resources:
- _id: wrk_916200a8d0c547e8acd3cbe7f61eace2
type: Workspace
parentId: proj_81ab89da399f466e9b3d32f8ec92b8c8
modified: 1707812060949
created: 1707812060949
name: My API Mock
description: ""
scope: mock-server
_type: workspace
- _id: mock_07f41ce980d9410f9634e9ae1e404cab
type: MockServer
parentId: wrk_916200a8d0c547e8acd3cbe7f61eace2
modified: 1707812060951
created: 1707812060951
name: My API Mock
url: http://localhost:8080
useInsomniaCloud: true
_type: mock
- _id: mock-route_4923148ad44e4426ba09347b0b732d7e
type: MockRoute
parentId: mock_07f41ce980d9410f9634e9ae1e404cab
modified: 1707812450193
created: 1707812109633
body: '{"message":"welcome"}'
headers:
- id: pair_b466a74db8ed40fcbbe8f84136f204f8
name: X-Mockbin-Test
value: "true"
description: ""
statusCode: 200
statusText: ""
name: /
mimeType: application/json
method: GET
_type: mock_route
- _id: mock-route_3ed9f6dc6b4840d1b82ce047da2fdad2
type: MockRoute
parentId: mock_07f41ce980d9410f9634e9ae1e404cab
modified: 1707812454502
created: 1707812408451
body: '{"uptime":12345678}'
headers:
- id: pair_d0a6e2d6a3614e05943cf156e52134d8
name: X-Mockbin-Test
value: test
description: ""
statusCode: 200
statusText: ""
name: /healthcheck
mimeType: application/json
method: GET
_type: mock_route
- _id: mock-route_9df5850642c741eca8b52b0491827b9e
type: MockRoute
parentId: mock_07f41ce980d9410f9634e9ae1e404cab
modified: 1707812514106
created: 1707812462239
body: '{"message":"email is required"}'
headers: []
statusCode: 401
statusText: ""
name: /unauthorized
mimeType: application/json
method: GET
_type: mock_route