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 Data Flow Shows
Data Flow is the forensic view of a test run. Every HTTP call TestSprite made to your API — every planned test, every capture extraction, every cleanup DELETE — appears here, grouped by endpoint, in chronological order within each endpoint group.
- Volume at a glance — “83 tests, 247 calls, 7 endpoints” tells you how much traffic the run produced
- Producer/consumer wiring — each card shows what variables it produced and which ones it consumed (clicking a consumer’s badge scrolls to the producer card)
- Observed behaviors — beyond the planned tests, this view also shows other API calls that occurred during the run, so you have full visibility into what your API was actually asked to do
Where to Find It
Sidebar → Overview → Data Flow (BE projects only). The tab appears once a run has completed; before any run it shows an empty-state inviting you to run your tests first.How the View Is Organized
The page is a list, grouped by endpoint. Each group is collapsible.- Top section: planned test calls. One card per test that was planned to run. Status chip, request/response preview, captured/consumed variable badges.
- Bottom section: “Other observed behaviors”. Collapsed by default. Includes calls made during discovery, auth verification calls, and anything else that hit this endpoint during the run.
The Producer/Consumer Badges
Each card that produces or uses a value has badges in its header:
| Badge | Meaning |
|---|---|
| ↓ produces user_id | This call captured user_id from its response |
| ↑ uses user_id | This call consumed user_id from upstream |
| ↓ produces user_id, order_id | This call captured multiple variables |
| ↑ uses user_id ← Create user | Consumer badge with producer test name visible — click to scroll to producer |
Per-Call Detail
Click any call row to expand the detail panel:| Section | Content |
|---|---|
| Request | Method + URL chip |
| Query | Query-string parameters parsed from the URL (when present) |
| Body | Request body sent (when present) |
| Response | Response body, with status code + duration shown on the row itself |
↑ uses / ↓ produces badges directly under the row.
Status on Each Row
Each call row shows the HTTP status code returned by the API, color-coded by class:| Indicator | Meaning |
|---|---|
| Green status (2xx) | Successful response |
| Yellow status (4xx) | Client error |
| Red status (5xx) | Server error |
| — | No response recorded (e.g. network error) |
Why “Other Observed Behaviors” Exists
The full list of HTTP calls TestSprite made during a run is bigger than just your planned tests:- Calls made during initial discovery
- Auth-verification calls when Auto-Auth refreshes a token
- Cleanup DELETEs after the run
- Mid-run calls when an integration chain has implicit prerequisites
What Data Flow Tells You That Test Detail Doesn’t
Test Detail shows you one test in depth. Data Flow shows you the shape of the run as a whole:- “Why did my test environment have 47 records leftover after this run?” → look at the Cleanup section, find which DELETEs failed
- “Why is this test slow?” → look at the call card’s response time alongside its peers — outlier?
- “Did my new endpoint actually get hit?” → check that endpoint’s group exists with traffic
- “Why does my POST /orders test reference a user_id I didn’t think was created?” → click the ”↑ uses user_id” badge and find the producer
Two Views: Flow and Calls
The page header has a Flow / Calls toggle:| View | What it shows |
|---|---|
| Flow | Endpoint-grouped graph view — collapse/expand each endpoint to see method-level nodes; producer/consumer arrows wire dependent calls together |
| Calls | The endpoint-grouped, expandable list described above — request/response detail per row, with ↑ uses / ↓ produces badges showing dependency wiring |
Edge Cases & Troubleshooting
An endpoint I know was called doesn't appear in Data Flow
An endpoint I know was called doesn't appear in Data Flow
Two possibilities:
- The call happened during discovery, not during the run. Check the “Other observed behaviors” subsection of any matching endpoint group.
- The call was made by a test that’s still Pending. Data Flow only renders completed calls; in-flight tests don’t show until they finish.
A producer/consumer relationship I expected isn't shown
A producer/consumer relationship I expected isn't shown
Either:
- The variable name on each side doesn’t match exactly (case-sensitive)
- One side wasn’t declared in the plan (open the test and refine if needed)
- The producer’s test failed and never produced the value
Many calls have the same producer/consumer arrows — visual noise
Many calls have the same producer/consumer arrows — visual noise
Common with chains like POST /users → 30 different consumer tests. The arrows don’t render as 30 lines; they collapse into the Used By list on the producer card. Click ”↓ produces user_id” to see the highlighted consumers.
The 'Other observed behaviors' subsection is huge
The 'Other observed behaviors' subsection is huge
Typically the first run on a new project shows more activity here. Subsequent runs are cleaner. If it’s still large later on, check whether API Discovery re-ran for this run.
Cleanup DELETE counts in Data Flow don't match my Cleanup tab
Cleanup DELETE counts in Data Flow don't match my Cleanup tab
The Data Flow view shows every DELETE that fired during the cleanup sweep, including successful ones. Compare with the Cleanup tab’s totals — they should match. If they don’t, please contact support.
Where to Go Next
Dynamic Variables
The captured-variables tab — same data, tabular shape
Test Detail
Drill into one test from a Data Flow card
Auto Cleanup
Cleanup DELETE calls visible in Data Flow
Comparing Runs
Diff two Data Flow snapshots side-by-side