Create and test a Postman mock server for a simple API
Preconditions (2)
Step 1: Open Postman and select the collection to mock
Step 2: Click on the three dots next to the collection name and select 'Mock Collection'
Step 3: In the mock server creation dialog, choose 'Save the mock server URL as an environment variable'
Step 4: Click 'Create Mock Server'
Step 5: Copy the mock server URL from the environment variable
Step 6: Send a request to the mock server URL using the same endpoint and method as in the collection
Step 7: Verify the response matches the example response defined in the collection
✅ Expected Result: The mock server is created successfully, and requests sent to the mock server URL return the example response with status code 200