CLI Load Testing

CLI v1.0.0May 14, 2026

atrahasis cli runs load tests from the same step definitions used by the flow runner. Pick a profile, get a live terminal dashboard with percentile metrics, and export reports in HTML, PDF, or OpenTelemetry JSON.

Run a load test

atra run spec-folder -s create-order -t load
atra run spec-folder -s create-order -t stress
atra run spec-folder -s create-order -t spike
atra run spec-folder -s create-order -t soak

Built-in profiles

ProfileVirtual UsersRampDurationPurpose
load (default)5030s60sSustained traffic, gradual ramp
stress20010s60sAggressive ramp to find limits
spike3002s30sSudden spike, recovery check
soak3030s300sLong duration, low steady load
customyoursyoursyoursUser-defined stages

Live dashboard

  • Response times — avg, p50, p90, p95, p99 — updated every second
  • Throughput in requests per second over time
  • Error rate as a percentage of failed responses
  • Active virtual users with ramp progression
  • Per-step breakdown with full percentile distribution

Reports

  • HTML — interactive dashboard for team sharing
  • PDF — printable summary for handoff
  • OpenTelemetry JSON — feed into downstream observability platforms

Details

  • Same binary as the rest of atra — one install covers ad-hoc requests, flows, and load tests
  • Spec format is identical to flow definitions, so a smoke test can be promoted to a load test by changing one flag
  • Exit code reflects threshold checks: 0 on pass, 1 on any threshold breach