Send POST request with form-data body and verify response
Preconditions (3)
Step 1: Open Postman and create a new POST request
Step 2: Set the request URL to https://api.example.com/upload
Step 3: Select 'Body' tab and choose 'form-data' option
Step 4: Add key 'username' with value 'testuser'
Step 5: Add key 'file' and upload a sample file (e.g., sample.txt)
Step 6: Send the request
Step 7: Observe the response status code and body
✅ Expected Result: Response status code is 200 OK and response body contains confirmation message 'Upload successful for user testuser'