Compare behavior of mock server and stub in Postman
Preconditions (2)
Step 1: Create a stub response for GET /user/profile with fixed JSON data
Step 2: Send a request to the stub and verify the response matches the stub data
Step 3: Create a mock server in Postman with the same GET /user/profile endpoint and response
Step 4: Send a request to the mock server and verify the response matches the mock data
Step 5: Change the mock server response data and send the request again to verify dynamic response
Step 6: Attempt to change the stub response and observe that it requires manual update
✅ Expected Result: Stub returns fixed response that does not change unless manually updated. Mock server can return dynamic responses and simulate different scenarios without changing the actual API.