For easier debugging, Mockoon records all entering requests and all the corresponding outgoing responses for each of your environments. To access an environment's log, click on the clock icon in the upper right corner:
The list shows all intercepted requests and how Mockoon answered to them.
Please note that all requests are intercepted, even the
/favicon request made by the browser.
Each record contains the entering request and the outgoing response information. This includes the complete list of headers, route params, query params, and body in raw format.
The interface is showing truncated bodies for both the request and the response (the truncation length can be adjusted in the settings). You can still view them in full in a separated editor by clicking on View full body in editor:
You can also easily see if a request has been caught by Mockoon (record shows a green tick) or has been passed to another URL if the proxy mode is activated (record shows a shield icon):
Mockoon also 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.):
Or follow us on TwitterFollow @GetMockoon