Skip to main content
Parallel execution runs independent requests concurrently, reducing total test suite time. Requests with dependencies (@depends) always run sequentially.

Enabling Parallel Mode

Short form:

Concurrency Limit

Control the maximum number of simultaneous requests:

Configuration

Set parallel mode in hitspec.yaml to avoid passing flags every time:

How Dependencies Work

hitspec respects the dependency graph when running in parallel:
In this example, listProducts runs concurrently with createUser. But getUser waits for createUser to complete because of the @depends directive.
Captured variables from parallel requests are not shared. Only use captures across requests connected by @depends.

Environment Variables

Last modified on February 10, 2026