Documentation Index
Fetch the complete documentation index at: https://docs.testsprite.com/llms.txt
Use this file to discover all available pages before exploring further.

What Dependency Chains Are
When tests share dynamic variables, they form a chain of producers and consumers:| Endpoint | Produces | Uses |
|---|---|---|
| POST /users | user_id | — |
| POST /orders | order_id | user_id |
GET /orders/{id} | — | order_id |
DELETE /orders/{id} | — | order_id |
Auto Cleanup
Cleanup runs in the order that respects these dependencies — children first, then parents
How TestSprite Runs Your Tests
Independent tests run in parallel; tests that depend on others wait until the values they need are available. The result: a 50-test plan with several dependency layers completes in roughly the time of the slowest layer, not 50× the average.Test Status During a Run
Each test row reflects one of these statuses:| Status | Meaning |
|---|---|
| Pending | Waiting for an earlier step to finish; not yet executed |
| Running | Currently making the HTTP call |
| Pass | Finished, assertions held |
| Failed | Finished, assertions didn’t hold |
| Blocked | An earlier test failed; this test was never run because the value it needs isn’t available |
Blocked is not Failed. Failed means “the test ran and the assertion didn’t hold”. Blocked means “the test never got to run because something earlier in the chain broke”. Distinguishing these is critical when you’re triaging a flaky run — Blocked tests are not bugs in your API; they’re symptoms of the upstream Failed test.
Where to See the Dependency Graph
The producer-consumer relationships are rendered in two places — visually in Data Flow, and in tabular form in Dynamic Variables (every variable’s row has “Captured From” (producer) and “Used By” (consumers)).
Data Flow
Visual graph of every HTTP call, with producer/consumer wiring shown
Dynamic Variables
Tabular view — every captured variable with its producer and consumers
Circular Dependencies
If two tests need values from each other, the chain can’t be assembled. TestSprite surfaces this as a “Could not assemble — circular dependency between X and Y” error and you’ll need to refine in chat. In practice this is rare and usually points to an actual API design issue.Multiple Producers for the Same Variable
If two tests both produce the same variable name (e.g., both POST /users and POST /admins produceuser_id), TestSprite picks one consistently for downstream consumers. To disambiguate:
When an Earlier Test Fails
When a test fails, anything that depends on its values is Blocked:Rerun (with/without Dependencies)
Per-test vs per-chain rerun options
Skip-Dependencies Rerun
Sometimes you’ve already verified an earlier test is fine and you just want to rerun a later one in isolation — without re-creating the upstream resources. The Rerun dialog has a Skip dependencies option for this:
- After cleanup ran (the records are gone)
- After a long delay where the resources may have expired
- When testing a flow that genuinely depends on freshly-created upstream state
- You’re refining the test itself (rewriting an assertion)
- You’re confident upstream state is intact
- You want a fast iteration loop on a single failing test
Edge Cases & Troubleshooting
A test is Blocked but I can't tell which upstream caused it
A test is Blocked but I can't tell which upstream caused it
Click into the Blocked test. The error trace tells you which variable was missing. Search the Dynamic Variables tab for that name and find the producer — its status will be Failed.
My run has many small chains and I want them all to run in parallel
My run has many small chains and I want them all to run in parallel
They already do. Independent chains run fully in parallel. If you’re seeing serial behavior, it’s likely because all your tests share an upstream (typical: every test uses a
user_id from the same POST /users producer). Refine in chat to produce a small pool of users instead.Producer succeeded but consumer says variable was not found
Producer succeeded but consumer says variable was not found
Variable resolution issue, not a dependency issue. See Dynamic Variables — Troubleshooting.
The dependency graph shows tests I expected to be related as disconnected
The dependency graph shows tests I expected to be related as disconnected
A chain ran out of order (a later step ran before its dependency)
A chain ran out of order (a later step ran before its dependency)
Should not happen — but if it does, the chain’s understanding of producer/consumer is off. Look at the chain’s order in the Integration Tests tab; if it’s wrong, refine in chat: “The chain order should be POST /users → POST /sessions → POST /orders”.
Where to Go Next
Dynamic Variables
Values produced by one test and used by another
Auto Cleanup
Records created during a run get removed afterward
Data Flow
Visualize what actually happened during the run
Integration Tests
Multi-step chains where one test’s output feeds the next