Verify usage of collection variables in Postman requests
Preconditions (3)
Step 1: Open the 'User API Tests' collection
Step 2: Create a new GET request named 'Get User Info'
Step 3: Set the request URL to '{{baseUrl}}/users/123'
Step 4: Send the request
Step 5: Verify the response status code is 200
Step 6: Verify the response body contains a field 'id' with value 123
✅ Expected Result: The request uses the collection variable 'baseUrl' correctly, the response status code is 200, and the response body contains the user id 123