Verify JSON response values in Postman
Preconditions (2)
Step 1: Send a GET request to https://api.example.com/user/123
Step 2: Check that the response status code is 200
Step 3: Verify the JSON response contains a 'name' field with value 'John Doe'
Step 4: Verify the JSON response contains an 'age' field with value 30
Step 5: Verify the JSON response contains a 'roles' array that includes 'admin'
✅ Expected Result: The response status is 200 and all JSON fields have the expected values