Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persist mappings to file (standalone) #59

Closed
cuotos opened this issue Oct 8, 2013 · 3 comments
Closed

persist mappings to file (standalone) #59

cuotos opened this issue Oct 8, 2013 · 3 comments

Comments

@cuotos
Copy link

cuotos commented Oct 8, 2013

Is it possible for mappings that have been created via POST to be written to file?

i.e

"/__admin/save"

would create the relevent files in "__files" and "mappings" so they are not lost on restart?

Dan

@tomakehurst
Copy link
Member

Unfortunately, it's not currently possible (although record mode is an approximation). This would be a useful feature and it's been on my to do list for a while.

@tomakehurst
Copy link
Member

Thanks for the kind feedback.

Since there's already code in there for saving stub mappings to files, you might not find it that difficult. I'd be happy to give you some pointers and merge the result if you fancy having a try.

@tomakehurst
Copy link
Member

Released in 1.40.

shrutikumar15 pushed a commit to shrutikumar15/wiremock that referenced this issue Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants