When to run one
Before a launch, a marketing campaign, a seasonal peak, a big migration, or after changing the database or hosting. A booking site that works for ten testers can crawl when two hundred people open it at the same time.
What to measure
- Response time at the median and at the slow tail (95th and 99th percentile).
- Error rate and timeouts.
- Requests per second the system sustains.
- CPU, memory, database connections and queue depth while the test runs.
Doing it well
Model realistic behavior: browsing, searching, logging in, not just one URL repeatedly. Test a copy of production size with production-like data, not a tiny empty database. Never point a test at a live system without warning, and check your host's rules first.
Tools include k6, JMeter, Locust, Gatling and Artillery. The result is a ceiling and a list of bottlenecks, often a missing database index or a limit on connections.
Questions, answered
Load testing uses expected traffic; stress testing pushes beyond it to find the breaking point.
Not without permission. Many providers ban it and may block your account.