Skip to content
CheckcraftDownload
Practical workflow

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.

Checkcraft ·

Get help with your first test →

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.

API call diagram: method and URL, headers, body, status and response body, logs and database

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.

Checkcraft: The items add up to 300, but total is 301. The formula appears next to the mismatch. Actual detailed HTTP run report with rules next to the checked values. Open the screenshot to see the full run screen.
The items add up to 300, but total is 301. The formula appears next to the mismatch. Actual detailed HTTP run report with rules next to the checked values. Open the screenshot to see the full run screen.

What an analyst checks in an API

QuestionWhere the answer isHow to check
The method does what requirements sayResponse and final stateA request from Swagger UI or curl
Fields and types match the contractOpenAPI specSwagger Editor, JSON Schema
Errors are described and clear4xx responsesRequests with bad data
Calculations add upCalculated fieldsRecompute from input
Dictionaries and statusesenum valuesCompare with the dictionary in requirements

Sending a request without coding

  1. Open the service Swagger UI, find the method and click Try it out.
  2. Fill parameters and body from the example, click Execute.
  3. Compare status, body and headers with requirements.
  4. 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 testableTestable
The total is calculated correctlytotal = sum of price × qty minus discount, rounded up to the cent
An error is returned on errorFor qty below 1 the response is 400 with error.code = QTY_INVALID
The status is updatedAfter payment status = PAID within 10 seconds
The field is optionalcomment 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.

Next step

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 run

No 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.

Ask a person

Get help with your first test

Tell us what you want to test or where you got stuck. We can help you start Checkcraft, choose an example and understand your first run. You can ask before downloading.

The Telegram group is public: do not post passwords, tokens or confidential work data. A description of your task is enough to start.

You can also email us support@checkcraft.ru

No account required. We will reply by email. This is a support request, not a newsletter subscription.