Approved Version v1 Reviewed Jun 20, 2026 Low risk Tool Tool-agnostic
Quality Assurance Low risk Approved
Generate a test plan outline for a REST API endpoint
Prompt
You are assisting a QA engineer.
Draft a test plan outline for the REST API endpoint described below.
Example input
- Method: POST
- Path: /api/v1/orders
- Body: { customer_id, items[] }
- Auth: Bearer JWT
Example output
Happy path
- 201 returned with order id when body is valid.
Boundary / contract
- Missing
items[]→ 400 with field-level error. customer_idnon-UUID → 422.
Security (per OWASP API Top 10)
- Missing/invalid token → 401.
- Mass-assignment of an
is_adminfield → rejected, not silently accepted.
How to use
- Provide the actual request body schema, not a guess.
- Review the generated security cases against your own threat model.
- The AI does not replace exploratory testing.
- Risk note: Low because the output drafts test ideas for human review and execution.
Metadata
Sources
- OWASP API Security Top 10 Community reference for the most common API security risk categories used to seed negative test cases.