Load testing

Validate capacity with k6 before high-traffic launches.

Use k6 scripts in scripts/. Start with smoke tests, then run the scale profile against staging.

  • ./scripts/smoke-test.sh https://api.staging.convoship.org — functional smoke.
  • ./scripts/run-load-test.sh — k6 ramp (configure API_URL, VUS, DURATION).
  • Target: p95 session start < 2s, p95 turns < 1s, error rate < 5%.
  • Size RDS/ElastiCache from observed connection count and latency under load.