API testing for systems analysts from requirements
Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →
A document defines a total, but one response does not show whether the calculation is correct. Make the requirement testable with an agreed example.
Make the calculation testable
For this exercise, total equals the sum of every item amount. Values 100 and 200 should produce 300. Agree currency, discounts and rounding separately. Field names and an OpenAPI document do not automatically establish business rules.
{"items":[{"amount":100},{"amount":200}],"total":300}Repeat the supplied check
Import calculation.testcase.json in the test-case editor. Run the passing JSON, then the failing sample without changing the rule. The files below include captured text reports for comparison.

Check structure and contract
Validate the type of total, whether items is required and what an empty array means separately from arithmetic. OpenAPI import prepares requests; it does not prove full contract compliance. Review AI-generated drafts and boundary cases against actual requirements.
Share an actionable discrepancy
Include the input, expected 300, actual total and requirement version. Attach the operation trace ID if logs are available. Database reconciliation is a separate Pro workflow. Response field assertions are not a complete consumer-driven contract testing process.
Repeat the sample
The quick experiment below runs in the test case editor. The screenshots show the detailed report available in HTTP run or Log run. For HTTP run, return the sample JSON or XML from a local mock and run the imported case against it, then open Results, Details and With structures. For Log run, load the sample into a log source, enable No request, run the case, then open Details and Detailed.
These are existing synthetic fixtures and captured text reports, not a customer deployment.

What an analyst checks in an API
| Question | Where the answer is | How to check |
|---|---|---|
| The method does what requirements say | Response and final state | A request from Swagger UI or curl |
| Fields and types match the contract | OpenAPI spec | Swagger Editor, JSON Schema |
| Errors are described and clear | 4xx responses | Requests with bad data |
| Calculations add up | Calculated fields | Recompute from input |
| Dictionaries and statuses | enum values | Compare with the dictionary in requirements |
Sending a request without coding
- Open the service Swagger UI, find the method and click Try it out.
- Fill parameters and body from the example, click Execute.
- Compare status, body and headers with requirements.
- Copy the curl command from the same panel to pass the request to a developer or repeat it later.
Reviewing and fixing the spec itself is covered in Swagger Editor online.
Writing testable requirements
| Not testable | Testable |
|---|---|
| The total is calculated correctly | total = sum of price × qty minus discount, rounded up to the cent |
| An error is returned on error | For qty below 1 the response is 400 with error.code = QTY_INVALID |
| The status is updated | After payment status = PAID within 10 seconds |
| The field is optional | comment may be missing or null; an empty string is not allowed |
Every row on the right turns into a check at once. That saves weeks of back and forth between analyst, tester and developers.
What to pass to a developer
- Method and request body, ideally as curl.
- What was expected per requirement, with a link to the item.
- What actually came back.
- traceId from the response, if present.
Full template in API bug report.
Frequently asked questions
How can an analyst test an API without coding?
Through Swagger UI: Try it out, fill parameters, Execute and compare the response with requirements. The curl command from the same panel is handy for developers.
How do I write testable API requirements?
State concrete values: formula and rounding rule, error code and text, deadline for a status change, whether null and empty strings are allowed.
Repeat this on your own API
Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.
Download FreeDownload and first runNo sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.
Start with the linked example and compare its result with your own test requirement.