You can automatically create mock routes from HTTP transactions (request/response). This is especially useful when used in pair with the proxy mode to create a mock API from an existing API.
Mockoon offers the possibility to automatically create mocks for entering requests. Click on the "plus" icon on a record to create a route containing the same information (headers, body, etc.):
Mockoon can also automatically create mock API endpoints every time a request is logged. To activate this feature, click on the "Record" button at the top of the logs view:
You can record in multiple environments at the same time. A red blinking recording icon will appear next to the environment name to indicate that the recording is active:
The recording will only create a route once, based on the path and HTTP method.
The recording mode works best with the proxy mode enabled and intercepting all the entering requests.