зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 05:06:05 +02:00
m
Этот коммит содержится в:
родитель
1a73a36a9a
Коммит
5331dd1881
@ -1,4 +1,10 @@
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-deposits-initiate.json"
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-deposits-initiate.json"
|
||||
"jsonBody": {
|
||||
"SomeInput": {
|
||||
"SomeNumber": "{{jsonPath request.body '$.ActivityInput.CertificateNumber'}}"
|
||||
},
|
||||
"SomeId": "{{request.path.[1]}}",
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
https://docs.wiremock.io/response-templating/random-values/
|
||||
|
||||
{{randomValue type='UUID'}}
|
||||
{{randomValue length=27 type='ALPHABETIC' uppercase=true}}
|
||||
@ -77,10 +77,6 @@ samples
|
||||
}
|
||||
}
|
||||
|
||||
https://docs.wiremock.io/response-templating/random-values/
|
||||
{{randomValue type='UUID'}}
|
||||
{{randomValue length=27 type='ALPHABETIC' uppercase=true}}
|
||||
|
||||
https://docs.wiremock.io/response-templating/json/#iterating-over-json-elements
|
||||
|
||||
record/playback
|
||||
@ -89,6 +85,7 @@ https://wiremock.org/docs/record-playback/
|
||||
admin
|
||||
https://wiremock.org/docs/standalone/admin-api-reference
|
||||
_admin/mappings
|
||||
__admin/mappings
|
||||
|
||||
api templates
|
||||
https://wiremock.org/docs/mock-api-templates/
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user