Skip to content

abhi0710/wiremock-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiremock-extensions

Contains the extension for bodyFileName templating.

eg: { "request": { "method": "GET", "urlPattern": "/some/thing\?test=.*" }, "response": { "status": 200, "bodyFileName": "{{request.path.[0]}}_{{request.requestLine.query.test}}.json", "headers": { "Content-Type": "text/plain" }, "transformers": ["response-template","response-body-filename-template"] } }

In this case if http://localhost:8181/some/thing?test=query is hit, content of file from ./__files/some_query.json is returned

If the content is again templated, Values will be replaced in that also.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages