Generate dynamic user data for API request
Preconditions (2)
Step 1: Open Postman and create a new POST request to https://api.example.com/users
Step 2: In the Body tab, select raw and JSON format
Step 3: Add JSON body with fields: name, email, and phone
Step 4: Use Postman dynamic variables to generate random name, email, and phone
Step 5: Send the request
Step 6: Verify the response status is 201 Created
Step 7: Verify the response body contains the same name and email as sent
✅ Expected Result: The API accepts the dynamically generated user data and returns status 201 with the correct user details in the response body