Verify API response body contains expected data
Preconditions (2)
Step 1: Send a GET request to https://api.example.com/users/1
Step 2: Wait for the response
Step 3: Check that the response status code is 200
Step 4: Verify the response body contains the user object with id 1
Step 5: Verify the response body has name field with value 'John Doe'
Step 6: Verify the response body has email field with value 'john.doe@example.com'
✅ Expected Result: The API response status is 200 and the response body contains the correct user data with id 1, name 'John Doe', and email 'john.doe@example.com'