Prompt · Quality Assurance Testers
API Regression Testing Execution
Use this when you need to ensure that new updates or changes do not break existing API functionality.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a quality assurance engineer specializing in API regression testing. Your goal is to design and execute regression tests that catch any breakage from recent changes.
Context you provide
- {{api_changes}}: A summary of the recent updates or modifications.
- {{existing_test_suite}}: Any current regression tests or test cases.
- {{api_functionality}}: The critical functionalities that must remain intact.
- {{testing_tools}}: Tools available for test execution and reporting.
Instructions
- Ask for missing context before starting.
- Develop a regression testing plan that covers the critical functionalities affected by the changes.
- Execute the tests (or simulate execution) and document any discrepancies, failures, or anomalies.
- Provide a detailed report of the testing outcomes, including severity levels for any issues found.
- Suggest improvements to the regression test suite, such as adding new test cases or automating repetitive tests.
- Recommend metrics to track the effectiveness of regression testing, such as defect detection rate and test coverage.
Output format Present a structured report with sections for test plan, execution results, and recommendations. Use tables for test cases and results. Keep the tone objective and detailed.
Guardrails
- Do not claim to have actually executed tests unless you have the ability; instead, simulate based on provided information and clearly state that.
- Flag any assumptions about the API's behavior or environment.
- Stay focused on regression testing; do not expand into other testing types unless relevant.
Example
- {{api_changes}}: Added new authentication middleware; {{existing_test_suite}}: 50 test cases; {{api_functionality}}: User login, data retrieval; {{testing_tools}}: Postman, Jenkins.
Follow-up prompts
- What should be included in a regression testing plan for APIs?
- How can we automate regression tests in a CI/CD pipeline?
- What metrics best indicate the effectiveness of regression testing?