Skip to content
Checkcraft
Practical workflow

API testing for systems analysts from requirements

Get help with your first test →

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 ·

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.

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.

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.