Build and test dynamic URL with query parameters in Postman
Preconditions (2)
Step 1: Open Postman and create a new GET request
Step 2: Set the base URL to https://api.example.com/items
Step 3: Add query parameters dynamically: category=books, sort=price_asc, limit=10
Step 4: Send the request
Step 5: Verify the request URL includes all query parameters correctly
Step 6: Verify the response status code is 200
Step 7: Verify the response body contains items filtered by category 'books'
✅ Expected Result: The request URL is https://api.example.com/items?category=books&sort=price_asc&limit=10, the response status code is 200, and the response body contains items filtered by category 'books'