Run a load test

Send the same request many times at once and read the response-time spread.

In short

A load test sends the same saved request many times at once to see what happens under load: slowing answers, timeouts, rate limits and server errors. It runs in the background and reports throughput, the response-time spread and errors. Load testing is included in Pro, Business and Enterprise.

Before you start

Steps

  1. Open "Test" › "Load tests" - or choose "Load test" in the project's … menu - and choose a saved request. Confirm it works once.
  2. Pick a preset or "Custom".
  3. Set "Timeout" and, if you want, "Retries".
  4. Press "Run load test". The test starts at once and the page follows it live; you can keep working.

Result: a summary in plain words, then the numbers below.

Load is real traffic Start on a test environment with small numbers, and make sure you are allowed to create the traffic before you test another organization's system. Requests go out from the {{brand}} server.

Read the results

Example: 500 requests at 20 callers gave median 180 ms, p95 520 ms, p99 4,700 ms. Half were quicker than 180 ms, but one in a hundred took about 25 times as long. A gap that size usually means contention, such as a lock, a connection pool or a cache that sometimes misses.

Look beyond the average Compare p95 and p99 with p50, and compare only runs that used the same request, environment and concurrency. A timeline that climbs with flat errors usually means queuing; flat time with rising errors means a limit is being hit.

Paced runs

A load test against a site nobody proved stays small and goes out at a steady rate, at most 10 requests a second. So it can never flood someone else's server. Its result is labeled paced. Anything over 10 callers or 1,000 requests needs a proved site; prove it from Settings, then Verified sites: /help/api-testing/quality-view#ownership-proof.

Good to know

If something goes wrong

Related