Archived topic — some details may be out of date.
Mock servers built from saved collection examples are still supported. Postman now also has code-based mocks: JavaScript request handlers plus a config.yaml, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (postman mock generate) and run it (postman mock run). See About mocks and Create a mock.
Working with an AI coding agent? The Postman plugin can build and run mocks for you.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.
I’m unable to see the requests/responses to/from the mock server in postman’s console.
What do I need to do in order to see these there, or anywhere else in postman for that matter?
Thanks, Mike, especially for the tutorial links.
I’m not completely new to postman, although I am still in the learning phase.
I thought I should be able to see, in the console, the request received by the mock server and the response sent by the mock server, but I don’t.
I only get to know that something was sent by the client and received by the client, because I see this in the client.