Chaining requests across protocols.
A typical integration test is a sequence where each step depends on the last: log in, take the token, call the authenticated endpoint and check the result. VirtuProbe models that sequence as a chain in which any protocol it speaks can be a step. The examples here use HTTP, DNS, SMTP, IMAP and LDAP. Let's go through how a value gets from one step to the next.
How a value moves: extract → variable → resolve
A chain is an ordered list of steps. You attach an extractor to a step to pull a value out of that step's response into a named variable. Any later step references that variable as {{variable}}.
# Log in, keep the token, call an authenticated endpoint
01 HTTP POST /login {"user":"x","pass":"y"}
extract HTTP_JSON_PATH $.token → {{token}}
assert HTTP_STATUS EQUALS 200
02 HTTP GET /me Authorization: Bearer {{token}}
assert HTTP_STATUS EQUALS 200
Pulling the value out: extractors
Each protocol has its own extractors, alongside two generic ones that work on any response:
- HTTP:
HTTP_STATUS,HTTP_JSON_PATH,HTTP_HEADER,HTTP_BODY_RAW. - DNS:
DNS_ANSWER_VALUE(andDNS_SUCCESS). - SMTP / IMAP / LDAP: a
*_SUCCESSflag plus an extractor that reads the exchange (SMTP_EXCHANGE_LINES,IMAP_EXCHANGE_LINES,LDAP_EXCHANGE_RESULT_CODE). - Generic:
CONSTANT(a fixed value) andREGEX(the first capture group of a pattern over the raw response). UseREGEXto lift a link out of an email body or an id out of plain text when no purpose-built extractor covers it.
Injecting it back: {{variables}}
A variable resolves anywhere in the following steps: a URL, a request body, a header, an LDAP DN or filter, a DNS name. A single brace like {token} is almost always a typo, so VirtuProbe stops with an error instead of sending the literal text to the server.
Control-flow steps
Besides protocol calls, a chain can hold steps that call no protocol at all, among them:
ITERATE: run child steps once per item from an inline list, a file or a variable an earlier step filled, with optional jitter between iterations, stop-on-first-success and a failure limit.CONDITION: branch on a JavaScript expression over your variables ({{status}} == '200').ASSERT: gate the run withEQUALS,NOT_EQUALS,CONTAINS,NOT_CONTAINS,MATCHES,GT/LT/GTE/LTE.PARALLEL: run steps side by side. Each branch gets a snapshot of the variables, merged back last-writer-wins.CHAIN_REF: call another chain with explicit input/output variable mapping.PRINT: write a line of your own into the run log.
Mixing protocols in one chain
A chain can resolve a domain's MX over DNS, hand the hostname to an SMTP step that delivers a message and confirm over IMAP that the message arrived. A signup test registers over HTTP and needs the confirmation mail from IMAP before it can bind the new account over LDAP.
Run status and history
While a chain runs, each step is marked running, passed or failed as it happens. The last 20 runs are saved per chain, so you can compare two of them to see which step's response changed or export any run as JSON evidence without running it again.
Build your first chain. VirtuProbe Studio is free to download, with no account, no cloud and no telemetry. Chaining, environments and request history are all on the free tier.