Fast for one person, slow for everyone
Imagine a landing page that loads instantly on the team's computer. A campaign sends many visitors who search products and submit forms together. The bottleneck turns out to be an external service rather than the page itself.
k6 lets teams define metric thresholds that determine whether a test passes or fails. These can cover response time or error rate. The k6 threshold documentation explains this mechanism.
Define a successful outcome
Do not start with an arbitrary virtual-user count. Describe arrivals and operations over time, the read-write mix and realistic pauses. Include data that does not all hit one permanently warm cache entry.
Thresholds should reflect the needs of the particular workflow. Observe latency distribution, errors and response correctness alongside averages. A quickly returned failure is not successful customer service. Compare results under similar conditions so changes remain meaningful.
Use the test to make a decision
Apply load to an agreed environment, with controlled integrations and no real payments. Observe the database, queues, memory and connection limits. Increase traffic gradually, then check whether the system returns to normal after the peak.
The result should be an action plan: improve a query, bound expensive work, add capacity or adjust the campaign schedule. Repeat the test after the change. A chart of maximum requests alone does not tell the business how many customers it can serve correctly.