SpitfireLoad Testing & APMWhat's new

Runs and results

You run a saved test: Spitfire splits the load across runners and shows the result second by second. A finished run's page stays; you compare it with a baseline and send the report to someone without an account.

How to start a run

  1. Open the test from Tests and click Run at the top right.
  2. Leave the runner choice (By count) or pick By location, By labels or Pick.
  3. For a first run set Share of the test's load to 10-25%.
  4. If the test changes data, tick I understand this test changes real data; start it.
  5. Optionally write a Note (optional) and click Start.

Run test dialogRun test dialog

Environment and scale applies to this run only; the test does not change:

Environment and scale: changing variables per runEnvironment and scale: changing variables per run

If the run does not start, the dialog says why:

Message What to do
"Not enough idle runners…" On the Runners page check that runners are connected and idle.
"…the free edition allows at most 100 VUs." (or requests/s, duration, runners, locations) Lower Share of the test's load; License limits.
"A new run cannot start now: …" Wait for the running run or stop it.
"A connection in the test definition cannot be reached." All integrations → Connections, Test.
The target cannot be reached dialog Target reach check.

Target reach check

Before every run the chosen runners try the test's addresses for a few seconds (the button shows Checking the target…). Any HTTP answer (a 500 too) counts as reachable. If a target does not answer, the run does not start and the The target cannot be reached dialog opens:

  1. Read each address, its cause (DNS, closed port, timeout, TLS…) and the runner it was tried from.
  2. Fix the address, the environment variable, the network or the firewall.
  3. Click Try again.
  4. If the target is down on purpose, click Start anyway.

To turn the check off for one test:

  1. Open the test with Edit and go to the Options tab.
  2. Turn off Check that the target answers before starting and save.

What happens in scheduled runs and CI: Details.

How to watch live

  1. Read the line at the top: Prepare, Countdown, Applying load, Results.
  2. Watch the tiles: Requests/s (now), p95 latency, Error rate, Apdex, Checks, Iterations.
  3. A red "N dropped" under Iterations means the load did not reach its target; read the other numbers with that in mind.

Live run: progress, tiles and chartsLive run: progress, tiles and charts

Wallboard

  1. Open Dashboard → Wallboard (/wallboard).
  2. Click Full screen.

For a TV make an account with the user role. With APM rights APM overview opens the wide APM view (Overview).

How to stop a run

  1. Normally click Stop: running iterations finish and the results are complete.
  2. If the target is being harmed click Kill now: the last second's data may be missing.

How to read the results

  1. Read the Result line ("Result: The system met all goals at up to 500 VUs.").
  2. Look at the red "N thresholds failed:" box and the Thresholds card.
  3. See where to look in Findings.
  4. Find the red rows in the Steps table.
  5. Read the failed response's body in Failed request samples.

Finished run pageFinished run page

Decide on p95/p99, not the average: the average hides a few very slow requests.

Steps tableSteps table

Findings cardFindings card

Failed request samples cardFailed request samples card

Thresholds card on the run pageThresholds card on the run page

When you get 429 (rate limit)

429 is the request limit in front of the target (gateway, WAF, CDN); it does not count toward the error rate or the pass/fail result.

  1. Open the Rate limit: … responses 429 item in Findings.
  2. Ask the target's admin to exempt the IPs to allow.
  3. If not, have them exempt requests carrying the traffic key (Traffic mark).
  4. If not, have them raise the limit for the test.
  5. Run the test again; the 429 item should be gone.

How to compare with past runs

  1. On a good run's header click Set as baseline.
  2. On the new run's page click Compare with baseline.
  3. For only what got worse turn on Issues only.

Several runs: tick them on the test page and Compare selected, or pick 2-6 runs in Load Testing → Compare.

Compare pageCompare page

Warning

If it says "The runs' test definitions differ (version or load profile changed).", part of the difference comes from the test changing; compare the same version, load profile and environment.

Runs page

  1. Open Load Testing → Runs.
  2. Filter with Running, Finished, Stopped or Failed.

Runs pageRuns page

  1. On the run page click Report.
  2. Pick Download → HTML (new tab), PDF, Word document (.docx), Markdown file (.md) or JSON.

Report menuReport menu

To send it to someone without an account:

  1. Click Report → Share link….
  2. Pick Valid for and Language, click Create link.
  3. Copy the link right away; it is shown only once.

Share the report dialogShare the report dialog

How to e-mail the report

  1. Click Report → E-mail the report….
  2. Enter Recipients (at most 20) and Language.
  3. Click Send; it says "Report sent to N recipients."

To send it after every run: on the test page's E-mail the report card, Edit → E-mail the report when a run ends.

Executive summary

  1. Click Report → Executive summary (one-page PDF)….
  2. Check the Target load (virtual users) field.
  3. Download it; one page with the result, Risk, Weak point, three numbers and suggestions.

Frozen report

The report is built once when the run ends and stored; it stays the same even if per-second data is deleted or the baseline changes. An admin can rebuild it from stored data with Rebuild the report….

Environment summary

The run's Environment tab shows the system under test during the run from connected sources (Kubernetes, hosts, data sources, APM services, the Map).

  1. Connect sources: servers in Towers & metrics, the rest in All integrations (Connecting Kubernetes).
  2. Run the test; at least one badge should show a number.

Details

Topic Note
Run menu The arrow menu has Comparative run and Calibrate (A/A); Run in the list opens the dialog directly
Splitting runners By location gives each location a share and runners (100% in total, remembered in the test); By labels zone=a,region=eu. Total VUs and rate stay the same
Environment and scale Environment (As in the test or one from the Environments tab), 1%-10000%, Change variables for this run; a badge in the header lists the differences (staging · 50% · user=ci)
Reach check: what is tried HTTP, WebSocket, SSE, GraphQL and browser addresses; the database, Kafka, Redis, MQTT, RabbitMQ, NATS, gRPC and AWS addresses of its connections. Addresses that come from an earlier step are not tried; the dialog lists them under Not checked
Reach check: the request One HEAD request from each runner to the target; it carries the X-Spitfire-Reach-Check: 1 header, so you can tell it apart in your logs
Reach check: schedules and CI A scheduled run is recorded as failed (reason "target unreachable") and schedule.failed is sent. In CI the run is recorded as failed and the CLI exits with 3 (CI/CD)
Capacity Find the breaking point (capacity test) (Finding the breaking point)
Again and regularly Running again = Run; Schedule; Run in CI (exit code 99 when a threshold fails)
Tile colours Errors 0% green, <1% yellow; Apdex ≥0.94 green, >0.70 yellow (formula); Checks 100% green, >99% yellow
Stopping Stop waits for Graceful stop (gracefulStop). A Stop when crossed threshold or When a runner is lost → Stop the run also stops it
States Aborted = a user or a threshold; Interrupted = the controller restarted. Result: Passed, Thresholds failed, Error
Step colours Red: threshold failed or errors ≥5%; yellow: some failed requests
What counts as an error HTTP ≥400, timeouts, connection errors; a code a status check expects does not count; failed checks go to the Checks rate
Request samples At most 3 per step and result (first 2 KB of body, headers). Off: Options → Failed request samples → Off: responses must not be stored
429 details VUs/RPS at the first 429, Retry-After, X-RateLimit-*, header to allow; if the limit is what you measure, add a status check expecting 429
Locations card p95 and errors per location (Scope and filters); with APM, Show resource metrics and monitoring events on the charts
Tolerance Editor → General & variables → Comparison tolerance: Warning (%) 5, Regression (%) 15; under 1 ms is noise
Baseline Remove baseline; baseline runs are not deleted by retention. Runs → Add to comparison (first picked is the baseline)
Report menu Executive summary (one-page PDF)…, CSV — summary (steps, locations), CSV — per second, Send to a channel…, Schedule… (Reports and sharing)
Share link Valid for 1, 7, 30, 90 days; views go to the audit log; Revoke cuts access; finished runs only
E-mail First Integrations → E-mail (SMTP); Attachments PDF (Word (.docx), HTML); subject Spitfire report: <test> — Passed/Failed — <date>; audit run.report.mail; Only when it fails (threshold broken, stopped or error)
Risk Broke before 80% of target, thresholds failed or errors ≥5%: High; broke at 80-100%, errors 1-5%, stopped: Medium; reached target within thresholds: Low. Target options.targetLoad; share link + /summary
Rebuild Audit run.report.rebuild; not possible once per-second data is deleted; CSV — per second is not frozen
Environment timing Stored 3 min after the run and added to HTML/PDF; usually missing from an e-mail sent right at the end; an unreadable source shows unavailable
Retention Per-second data, logs, request samples: free 7 days, default 90 days; runs have their own period (0 = forever). License → Data retention. Tests, baselines and running runs are never deleted
API POST /api/v1/runs/{id}/report/mail, PUT /api/v1/tests/{id}/report-mail, GET /api/v1/runs/{id}/report?format=exec&lang=en&target=2000, POST /api/v1/runs/{id}/report/rebuild, GET /api/v1/runs/{id}/environment

Common problems

Symptom Fix
Start disabled No idle runner, By location not 100% in total or nothing picked in Pick: make the shares 100% with Spread evenly.
The run stays in Prepare A runner cannot connect or Kubernetes pods are starting (20-60 s): check the Runners card and the Event log.
"N dropped" under Iterations Raise Max VUs (Load model).
High errors, 4xx in Findings The request is wrong (expired token, test data): read the sample, try the test with Try it.
RPS flat at the license limit Add think time or raise the limit with a plan or add-on.
p95 fine but "Thresholds failed" See which threshold in the Thresholds card.
No Compare with baseline Mark a run with Set as baseline.
An old run's charts are empty Per-second data expired: extend retention, make important runs baselines.
A share link does not open It expired or was revoked: make a new one.

More: Load model, Reports and sharing, Test editor.