Hi, If I change anything in API response from map...
# help
g
Hi, If I change anything in API response from mappings folder and invoking the API in Postman without restarting the wiremock standalone server, My latest change in response is not reflected. I could see the response changes only after the wiremok standalone server re-start. I wanted to know is there any way to reflect my changes without restarting the wiremock standalone server and it should be available with hot reloading. I could observe the hot reloading can be achieved with below ways: 1. In mapping folder, responses should be mapped with filename and respective response contents should be placed in __files folder. So if i change the response content in __files folder and invoking the API in postman, it is reflecting immediately. 2. Once i have done the changes in response from mapping folder, if i hit the below API, and invoke the API for which i changed the response from Postman, I am getting the latest response. POST:<Local or Server endpoint>/__admin/mappings/reset Apart from these 2 approaches, I wanted to understand, is there any way, I am changing the response in mapping folder and invoking the same in Postman, i need to get the response with my latest changes. Kindly advise.
t
These 2 options are the correct ones to use as they’re the only ones available at the moment apart from restarting the server
g
Thank you for your response
👍 1