Validate API response status and body using assertions
Preconditions (2)
Step 1: Send a GET request to https://api.example.com/users
Step 2: Check that the response status code is 200
Step 3: Check that the response body contains a JSON array
Step 4: Check that the first user object has a 'name' property
✅ Expected Result: The response status code is 200, the body is a JSON array, and the first user object contains a 'name' property