"Load test" is often used for every kind of performance test, but there are four distinct tests, and each answers a different question. Running the wrong one gives you a confident answer to a question you did not ask.

The four tests at a glance

Test Question it answers Load shape Typical length
Load test Do we meet our goals at expected traffic? Ramp to expected peak, hold 10 to 30 min
Stress test Where and how do we break? Keep increasing past the peak Until it fails
Spike test Do we survive a sudden burst? Jump from low to very high instantly 5 to 15 min
Soak test Do we stay healthy for hours? Moderate, constant 2 to 24 hours

Load testing: "are we ready?"

A load test simulates the traffic you expect, for example next month's peak hour, and checks it against your goals: p95 under 500 ms, under 1% errors. It is the test to run before a launch and on a schedule after it.

Pass/fail is clear: the thresholds either hold or they do not. If they hold with headroom, you are ready. See how to load test an API before launch for a full walkthrough.

Stress testing: "where is the limit?"

A stress test keeps increasing the load beyond what you expect until something gives. You learn two things:

  1. The breaking point: the load where latency or errors cross your limits (how many users can my server handle).
  2. The failure mode: does the system slow down gracefully, shed load with clear 503s, or fall over and take minutes to recover? A system that degrades gracefully is far easier to operate than one that cliffs.

Always watch what happens after you stop the load. A service that does not recover on its own needs work, whatever its breaking point is.

Spike testing: "what if we go viral?"

Real traffic rarely ramps politely. A newsletter goes out, a post hits the front page, a sale starts at 9:00 sharp. A spike test jumps from normal traffic to five or ten times that in seconds.

Spikes find problems the gentle ramp never does:

  • autoscaling that takes three minutes to add capacity;
  • cold caches that send every request to the database at once;
  • connection pools that are sized for the average;
  • queues that fill faster than workers drain them.

If you have a known event coming, read preparing for a traffic spike.

Soak testing: "can we run all week?"

A soak test runs a moderate, steady load for hours. It catches problems that only build up over time:

  • memory leaks and growing caches;
  • connections that are never returned to the pool;
  • log files or temporary tables filling the disk;
  • scheduled jobs that collide with live traffic at 3 a.m.

The tell-tale sign is drift: latency or memory that creeps up hour after hour at the same load. More in soak testing: find memory leaks.

Which one should you run?

  • Before every launch: a load test at expected peak.
  • Once per quarter or after big changes: a stress test, to know your ceiling.
  • Before known events: a spike test shaped like the event.
  • Before relying on a new service for weeks: a soak test.
  • On every pull request: a short, steady load test that catches regressions (load testing in CI).

Running them with Hoofbeat

All four are the same flow with a different load shape. Build the user journey once (in plain words with HoofbeatChat, visually, or from a HAR file), then change the phases: a ramp and hold for a load test, ever-higher stages for a stress test, an instant jump for a spike, a long hold for a soak. Schedule the soak overnight and get an alert by email or Slack only if it fails or regresses.