API testing Available now
No screens? You still need verification.
Check order, payment, and member APIs against their contracts on every run. Evaluate schemas, status codes, and permissions per case, and include results in the same release decision as UI tests.
Server/API projects start directly with API testing, without screen collection.
What gets tested
The contract becomes the test case.
Define expected responses per endpoint and compare them with actual responses. Test more than the happy path: verify that invalid requests are rejected and access to other users' orders is blocked in the same run.
- Response schema — Compare fields, types, and required values against the contract.
- Status codes — Check success, rejection, and conflict codes against rules, such as a 409 response for cancellation after 24 hours.
- Permissions — Verify that requests from other users or roles are blocked with 403.
Cases and execution
Cases come from three sources.
Create API cases just like UI cases: draft from requirements and repository code, then add human-authored cases. When a PR opens, Qoretix suggests new, updated, or removed cases for changed endpoints. Only approved suggestions enter the suite.
- Document-based — Extract inputs and expected results for each endpoint from feature lists and requirements.
- Code-based — Derive error paths and boundary values from routes, handlers, and input validation logic.
- PR suggestions — Analyze changes and suggest cases for the owner to approve or reject.
- Automation rules — Run on every push and PR using repository, branch, and changed-path rules.
Results and decisions
Every failed call retains its request and response.
Every failed case includes the request, response, and execution log. If a payment API omits a limit-exceeded message, you can see exactly which field was empty. Severity determines the release decision.
- Any critical or major failure results in FAIL.
- Only minor or trivial failures result in CONDITIONAL, requiring a person to review and decide.
- Tests with inconsistent results on the same commit are quarantined. They keep running but cannot cause FAIL; that run is CONDITIONAL.
- Failures automatically become Jira issues linked to retest results.
Checks
What one run verifies.
Combine checks to define expected results for each case. If any expectation fails, the case is recorded as failed.
Response schema
Compare field names, types, required values, and nested structures against the contract.
Status codes
Verify that each situation returns its expected code, such as 200, 201, 400, 403, or 409.
Permissions & roles
Make requests with registered test accounts and verify unauthorized roles are blocked.
Error messages
Check that rejection responses include a reason and guidance.
Data integrity
Verify that retrieved values match created data and that cancellation changes the state correctly.
CI pipeline execution
Run as a GitHub Actions workflow step and receive results for every PR.
API specification integration Preview
Register an OpenAPI specification to use endpoint lists and schemas directly in case drafts.
Release gating Preview
Fail PR checks or block deployment when the decision is FAIL.
Frequently asked questions
Before you adopt API testing
Can we use it for server/API projects with no screens?
Is an OpenAPI specification required?
Does it replace unit tests or CI pipelines?
Do you access production data?
What do people handle?
Are API results separate from UI results?
Start with one endpoint.
Connect your repository and target URL to reach the first run in typically five minutes. See how API contract test results become a release decision in a demo.
sales@qoretix.com+82-33-242-0210Weekdays, 10:00–18:00 KST