Visualize a test or suite as a read-only flow diagram — steps, branches, loops, and parallel stages at a glance.
Use Flow chart when you want to understand execution order without stepping through YAML or the edit-mode Flow tab. The diagram is pan/zoom-able and stays inside the same panel as the runner (swipe in, Back to return).
| File type | Top-bar control | What the diagram shows |
|---|---|---|
type: test |
{{btn:type-hierarchy-sub:Flow chart}} | Steps and stages in execution order — call, http, assert, check, control flow (if, for, repeat), delays, imports, and nested logic |
type: suite |
{{btn:type-hierarchy-sub:Flow chart}} | Suite item hierarchy grouped by execution stage — tests, APIs, nested suites, mock servers, and missing/cycle markers |
type: loadtest |
{{btn:type-hierarchy-sub:Flow chart}} | Read-only view of the referenced test hierarchy (same graph model as suite items for the underlying scenario) |
Not available for type: api, type: server, type: env, or type: report — those file types do not expose a Flow chart control.
On suite and load test files, Flow chart is disabled until the panel has at least one resolvable item (for example, after you configure a test: path on a load test).
- Review branching (
if/else), loops, and parallel stages before a run - See how suite items are grouped and which files they reference
- Share a quick mental model of a complex flow with teammates
- Jump to source: click a node to open the
.mmtfile it came from
- Open a test, suite, or load test file in VS Code (YAML on the left, runner panel on the right).
- Click Flow chart in the panel top bar.
- The panel swipes to a full-height diagram built from the parsed file (React Flow under the hood).
- Use the canvas controls to pan, zoom, and fit the view.
- Click Back (or the back control in the flow chart header) to return to the runner.
- One graph per test file: sequential steps, stage parallelism, and control-flow edges (true/false branches, loop-back).
- Step nodes use the same icons and titles as the test editor where possible.
callsteps show resolved API titles when available.
- Root node represents the suite or load test; child nodes mirror the item tree by execution stage.
- Referenced test files can expand into nested step boxes inside the graph.
- Missing files and circular references appear as dedicated node kinds (not executed).
| Control | What it does |
|---|---|
| Back | Return to the runner panel |
| Refresh | Rebuild the graph from the latest YAML and re-fetch referenced test files |
The flow chart is read-only. To change steps or items, use Edit Test, Edit Suite, or Edit Load Test — or edit the YAML directly.
- After editing YAML or referenced files, use Refresh if the diagram looks stale.
- For suite partial runs, the item tree Run buttons still target subtrees; the flow chart always reflects the full file structure.
- Pair with Reports after a run to connect the visual flow with pass/fail output.
- Click-to-open navigates to the file, not a specific YAML line.
- Very large suites may take a moment to lay out; nested test graphs are loaded on demand.
- No export to PNG/SVG yet — use the in-panel view for exploration.
- Run status is not overlaid on nodes during execution (runner and report panels show live results).
- Test — Flow chart button on the test runner top bar
- Suite — hierarchy view of suite items
- Load Test — flow chart for the referenced test scenario
- Edit Test — edit-mode Flow tab is separate from Flow chart
- if · for · repeat · delay — control-flow steps in tests
- Execution — parallel stages and partial runs in suites
