· Engineering notes
SLO and error budget before you schedule a load test
If you cannot state the SLO and how much error budget the next peak may burn, k6 will produce charts without a ship/no-ship rule. Write the budget first, run capacity math second, then scope the test.

Load without an SLO is a demo
A load run that ends with "p95 looked okay" cannot stop a release. You need a target the business already accepted (or will accept in writing this week): availability or latency for a named API path or user flow, and a window (usually 28 or 30 days). Google's SRE framing of error budgets is enough for a product team - you do not need a full SRE org.
After the run, interpret saturation with reading performance test results. Before the run, stay here.
Minimum SLO you can write in one paragraph
Critical path: POST /v1/payments (authorise)
SLO: 99.9% of successful auth requests complete in < 400 ms at the edge, measured over 28 days
Indicator: success = HTTP 2xx from our API (provider timeouts count as errors for this SLO)
Window: rolling 28 days
Replace the path with yours. If product cannot name one path, stop. Fix product ownership before booking load tooling time.
Artifact: sample error-budget arithmetic
Numbers below are a worked example, not client traffic. Swap in your real request count from metrics.
| Input (example) | Value |
|---|---|
| SLO | 99.9% success in 28 days |
| Allowed failure ratio | 0.1% = 0.001 |
| Example requests in window | 10,000,000 |
| Error budget (failed requests) | 10,000,000 × 0.001 = 10,000 |
| Already burned this window (example) | 2,400 |
| Remaining budget | 7,600 failures |
Use the free SLO calculator so the arithmetic is not a spreadsheet argument. If remaining budget is near zero, a stress test that deliberately burns errors needs an explicit product waiver - do not "just see what happens" on production.
Capacity before scenarios
Translate peak arrivals into connections, workers, or DB pool size with the capacity calculator. Write one sentence for what fails first (pool, queue, auth, DB). Then open the scoping hub: how to scope a SaaS load test (VU vs arrival-rate, thresholds). Only then write k6 - see realistic load tests with k6.
Go / no-go checklist before scheduling k6
## Before we book a load window
[ ] Named critical path + SLO paragraph committed in the repo or Confluence
[ ] Error budget remaining calculated for this window (Lab SLO calculator URL + date)
[ ] Peak arrival rate estimate sourced from metrics or a labeled assumption
[ ] Capacity note: pool/queue/DB headroom for that peak (Lab capacity calculator)
[ ] Environment: staging sized enough to be meaningful, or production waiver signed
[ ] Abort thresholds drafted (p95, error ratio) - paste into k6 later
[ ] Owner for go/no-go after the run
Go for load scheduling? Yes / No / Yes-with-waiver: ____
No-go is a success if it forces observability or SLO clarity first. Burning an engineer-week on charts nobody can use is the failure mode.
Load engagements that start from this checklist: Load & stress testing.
If you want a call on whether your next peak needs load now or observability first, book a free 20-min test audit.