Add more usage examples! #568
Closed
ignatenko-paul
started this conversation in
General
Replies: 1 comment 7 replies
-
hi! thanks for the suggestion. agree that the above would be useful for people trying to use the library. i am a little busy presently but i will try to get to this as soon as possible |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good day team!
Could you add more examples how to configure mappings with regex on a req/res body?
E.g.
https://wiremock.org/docs/request-matching/
"bodyPatterns" : [ {
"equalToJson" : "{ "total_results": 4 }",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
https://wiremock.org/docs/response-templating/
"response": {
"body": "{{request.path.[0]}}",
"transformers": ["response-template"]
}
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions