Product documentationUpdated March 18, 2026
Generate Endpoint Test Cases
Use Generate Tests on the endpoint test-case screen to automatically create baseline scenarios from your API specification.
Overview
Shift Left Studio can generate test cases directly from the selected endpoint definition. This is the fastest way to create baseline coverage before manual refinement.
Generation uses API specification details such as method, path, parameters, request body schema, and expected response behavior.
Generate tests from endpoint screen
- Open a project, then select a feature and endpoint.
- On the endpoint test-case screen, select Generate tests.
- Wait for generation to complete.
- Review generated tests in the test list.
Note: generation quality depends on API specification quality. Rich request/response schema definitions produce more complete test sets.
What gets generated
- valid input scenarios
- missing required field scenarios
- invalid input/body structure scenarios
- baseline assertion checks (status, schema, response structure)
What to do after generation
After generation:
- open a test with Edit and customize inputs/assertions
- set authentication and environment-dependent values
- run tests and review outcomes
Continue with Test case and Test run.
Best practices
- Treat generated tests as a starting point, not final coverage.
- Add negative and business-specific assertions before relying on results.
- Regenerate when endpoint contract changes significantly.
Related articles
Related articles
- Open, Edit and Save Test Cases · Product documentation
- Test Configuration · Product documentation
- Execution Mode · Product documentation
- Run Tests and Review Results · Product documentation
Next steps
- Getting started · Install + connect your spec
- Configuration fundamentals · Stabilize runs
- Initial configuration · Users, licensing, projects
- Release notes · Updates and fixes
Still stuck?
Tell us what you’re trying to accomplish and we’ll point you to the right setup—installation, auth, or CI/CD wiring.