Verify Network Parallelism
verify_network_parallelismVerify multiple network requests start concurrently within a defined time window; fails if count or timing constraints are not met.
Instructions
Assert that a set of matching network requests all start within a given time window (e.g., SDUI queries firing in parallel). Fails if fewer than minExpectedCount match or the total span exceeds maxWindowMs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matcher | Yes | Predicate selecting requests to test for parallelism | |
| sessionId | Yes | Active or completed session ID | |
| maxWindowMs | Yes | All matching requests must START within this window, in milliseconds | |
| filterDomains | No | Optional Proxyman domain filter | |
| minExpectedCount | Yes | Fail if fewer than this many requests fall inside the window |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Total matching events | |
| events | Yes | ||
| passed | Yes | ||
| verdict | Yes | Human-readable summary | |
| avgGapMs | Yes | Average time between consecutive matching events | |
| actualSpanMs | Yes | Span (ms) from first to last matching event |