End recording of stub mappings
643 matches
20 actions
WireMock
20 actions
- Count requests by criteriaPOSTv1.0.0
- Delete all requests in journalDELETEv1.0.0
- Delete request by IDDELETEv1.0.0
- Empty the request journalPOSTv1.0.0
- Find near misses matching request patternPOSTv1.0.0
- Find near misses matching specific requestPOSTv1.0.0
- Find requests by criteriaPOSTv1.0.0
- Find unmatched requestsGETv1.0.0
- Get all requests in journalGETv1.0.0
- Get all scenariosGETv1.0.0
- Get recording statusGETv1.0.0
- Get request by IDGETv1.0.0
- get_admin_requests_unmatched_near_missesGETv1.0.0
- post_admin_shutdownPOSTv1.0.0
- Remove requests by criteriaPOSTv1.0.0
- Reset the state of all scenariosPOSTv1.0.0
- Start recordingPOSTv1.0.0
- Stop recordingPOSTv1.0.0
- Take a snapshot recordingPOSTv1.0.0
- Update global settingsPOSTv1.0.0
Other/WireMock
Stop recording
v1.0.0Output
- 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
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
{
"type": "object",
"properties": {
"mappings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "This stub mapping's unique identifier"
},
"metadata": {
"type": "object",
"description": "Arbitrary metadata to be used for e.g. tagging, documentation. Can also be used to find and remove stubs."
},
"name": {
"type": "string",
"description": "The stub mapping's name"
},
"newScenarioState": {
"type": "string",
"description": "The new state for the scenario to be updated to after this stub is served."
},
"persistent": {
"type": "boolean",
"description": "Indicates that the stub mapping should be persisted immediately on create/update/delete and survive resets to default."
},
"postServeActions": {
"type": "object",
"description": "A map of the names of post serve action extensions to trigger and their parameters."
},
"priority": {
"type": "integer",
"description": "This stub mapping's priority relative to others. 1 is highest."
},
"request": {
"type": "object",
"properties": {
"basicAuthCredentials": {
"type": "object",
"description": "Pre-emptive basic auth credentials to match against",
"required": [
"username",
"password"
],
"properties": {
"password": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"bodyPatterns": {
"type": "array",
"description": "Request body patterns to match against in the <key>: { \"<predicate>\": \"<value>\" } form",
"items": {
"type": "object"
}
},
"cookies": {
"type": "object",
"description": "Cookie patterns to match against in the <key>: { \"<predicate>\": \"<value>\" } form"
},
"headers": {
"type": "object",
"description": "Header patterns to match against in the <key>: { \"<predicate>\": \"<value>\" } form"
},
"method": {
"type": "string",
"description": "The HTTP request method e.g. GET"
},
"queryParameters": {
"type": "object",
"description": "Query parameter patterns to match against in the <key>: { \"<predicate>\": \"<value>\" } form"
},
"url": {
"type": "string",
"description": "The path and query to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified."
},
"urlPath": {
"type": "string",
"description": "The path to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified."
},
"urlPathPattern": {
"type": "string",
"description": "The path regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified."
},
"urlPattern": {
"type": "string",
"description": "The path and query regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified."
}
}
},
"requiredScenarioState": {
"type": "string",
"description": "The required state of the scenario in order for this stub to be matched."
},
"response": {
"type": "object"
},
"scenarioName": {
"type": "string",
"description": "The name of the scenario that this stub mapping is part of"
},
"uuid": {
"type": "string",
"description": "Alias for the id"
}
},
"additionalProperties": false
}
},
"meta": {
"type": "object",
"required": [
"total"
],
"properties": {
"total": {
"type": "integer"
}
}
}
},
"additionalProperties": false
}