Negative and boundary tests for POST /orders
ScenarioMediumAsked in: Amazon, Swiggy
The body of POST /orders is {"productId": 12, "quantity": 2, "couponCode": "SAVE10"}. Quantity must be 1 to 100. List the negative and boundary tests you would run.
Submit shows the checklist a strong answer covers.
to answer and keep your progress. Reading is free for everyone.