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 aconfig.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.
Hello,
I am extremely new to Postman and was just doing some research on using the Mock Server features. I did some examples and it’s pretty well documented on how it works, etc. So all good in that regard.
However, the one important piece of information that I couldn’t find is where does the Mock Service actually reside? And do you have any options?
I’m just guessing that the Mock Service resides in some Postman Cloud type service. This would explain the uuid type url and the limit on how many calls can be made in a month for free. Is this true?
If true, is there no other option than this Postman Cloud? For instance I’d like to run this Mock Service on my local machine or a different server or a different cloud. Can I do that?
thanks!