--stress to your run command and your functional tests become load tests — no separate tool required.
Quick Start
Two Modes
Rate Mode
Controls throughput by setting a target number of requests per second:Virtual Users (VU) Mode
Simulates concurrent users, each making sequential requests with optional think time between them:Ramp-Up
Gradually increase load instead of starting at full capacity:Thresholds
Set pass/fail criteria for CI/CD pipelines. If any threshold is exceeded, the command exits with a non-zero code:
You can also assert on percentile latencies in your expect blocks:
Stress Testing Flags
Per-Request Annotations
Control how individual requests behave during stress tests:Available Annotations
Setup and Teardown
Use@stress.setup and @stress.teardown for one-time operations:
Stress Profiles
Define reusable stress configurations inhitspec.yaml:
Managing Profiles from studio
The hitspec studio stress screen lets you create, edit, and delete profiles without touchinghitspec.yaml directly. Changes are persisted to hitspec.yaml automatically.
Results Panel
After a stress test completes (either naturally or via stop), studio displays a results view with:- Summary cards — Total requests, average RPS, success rate, and error count
- Latency percentiles — Min, P50, P95, P99, Max, Mean, and Standard Deviation (all in fractional milliseconds)
- Per-request breakdown — A table showing each request’s count, success/error split, and individual latency metrics (avg, min, max, P50, P95, P99)
- Threshold indicators — Pass/fail badges for each configured threshold
GET /api/v1/stress/result endpoint.