Skip to content
CheckcraftDownload
Checkcraft in practice

Chain API requests with extracted variables

Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →

A workflow often needs more than one request. Create an object, read it back and compare the identifier or amount. A variable connects the steps without copying values by hand.

Checkcraft team · Updated

Get help with your first test →

What you can verify

The example extracts an identifier and compares it with a value in another part of the data. Use the same principle in a request sequence.

The order ID is ORDER-42, but the payment refers to ORDER-99. Actual detailed HTTP run report with rules next to the checked values. Open the screenshot to see the full run screen.
The order ID is ORDER-42, but the payment refers to ORDER-99. Actual detailed HTTP run report with rules next to the checked values. Open the screenshot to see the full run screen.

Extract a specific value

Choose the response path that contains the identifier you need. Save it under a clear variable name. Verify the value after extraction so that a missing or stale variable is caught before the next request.

Use the variable syntax shown by the field

Request templates and test expressions can use different supported variable forms. Follow the field help for {{session.varName}}, %variable% or ${variable}. Do not assume that every syntax works in every input.

Run requests in a known order

Create a request sequence and arrange its steps from top to bottom. Set the body variant and tests for each step. Decide whether a failed request should stop the sequence. Inspect both the request outcome and the test result.

Repeat the check with ready-made files

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.

Download the Checkcraft test case and two inputs. One input is valid, and the other contains a deliberate error. These synthetic examples are available without registration.

Run the example in Checkcraft

Create a collection, a check and a test case using the workspace tree context menu. Click Import in the test case editor and choose the downloaded test case. Open the added case, copy the valid JSON, click Paste data for analysis, then Run test case. Open Result to inspect the report.

Repeat with the broken JSON without changing the rules. The first run should pass and the second should fail. If you see a different outcome, check the selected data source, imported steps and report.

The example files were executed against the application source on 14 September 2026. Reference reports in English are available for the passing run and failing run. Sample names and literal data values do not change when you switch the interface language.

Reuse a chain for integration testing

Passing a token or orderId ties requests to one operation. This helps reproduce frontend and backend interactions but does not validate an entire microservice architecture. Add an observable outcome using the integration workflow. For multiple inputs, see Pro CSV scenarios.

Try your own check

See the result on a small example first

Start with the sample, inspect the failure and then try a sanitized example from your own API. Free is available for 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.

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.