“The power of Mocks and Postman”
summary
Shows how to stand up a Postman mock server, save its URL as an environment variable, and create multiple example responses for the same endpoint (200 and 404). Demonstrates selecting a specific example via the X-Mock-Response-Code header or example name, using dynamic variables (random first/last names) in mock bodies, and returning a specific status for a parameter value (for example id == 5 returns 404 for id 5).
AI-written summary · about
related talks
49mIncreasing Team Productivity with Mock API Servers.
25mMock to start
17mAPI Testing Unlocked
16mMastering Mocking in Playwright: Simplify API Test Automation
27mEffectively Testing Services
31mThe power of mocking APIs
23mPostman Session: Speed Up Your Developer Workflows with Postman
10mOne lazy dev’s Jamstack in Postman
