Read the report
Every run writes a summary to the terminal. It can also write three files. Use the one that fits the job.
| File | Option | For |
|---|---|---|
| HTML report | -report report.html | A person. Open it in a browser. It works offline. |
| JSON summary | -out run.json | A script, an agent, or a later comparison. |
| JUnit XML | -junit junit.xml | CI. Each threshold and check shows as a test case. |
The HTML report is written to vegaload-report-<timestamp>.html if you do not give a path. VegaLoad opens it for you unless you pass -no-open. When the live view is showing the run, its page opens instead, and the report is written but not opened.
The terminal summary
fixed-vus summary
elapsed: 15.001214614s
total: 3691
failed: 107
mean: 40.575737ms
thresholds
FAIL p95 < 20ms (observed 58.32ms)
FAIL error_rate < 0.01 (observed 0.02899)
thresholds breached
total is the number of calls. failed is the number that returned an error, or an HTTP status of 400 or higher. A threshold line shows the limit you set and the value VegaLoad saw.
Some lines appear only when they apply:
-
vus:shows the most VUs that ran at once and the most the load shape allowed, such aspeak 5 of 5.iters:shows how many iterations started and how many completed. -
bytes:shows the bytes sent and received, when the calls moved any.ttfb:shows the time to first byte of the HTTP calls, from sending the request to the first byte of the answer. -
failures:counts the failed calls by reason, such as12 status 503, 3 timeout. -
errors by kindlists the failures by kind, with the message of the first one of each kind. Checks that did not pass are a kind of their own,check failed, with the check's name as the sample:errors by kind (one sample each)550 status 404 status 40413 check failed status is 201 -
dropped:counts the iterationsconstant-arrival-rateorramping-arrival-ratecould not start because every VU was busy. They never ran, so they are not intotal,failedor the latency. When more than 1% of the planned iterations were dropped, aWARNING:line says so: the target got less load than you asked for. Raise-max-vus. -
WARNING: generator overloaded:means the machine running VegaLoad could not keep up. It says why: VegaLoad's CPU stayed at 90% or more of the machine's CPUs for 3 seconds or more, its goroutines waited 20 ms or more to run for 3 seconds or more, or more than 1% of the planned iterations were dropped. A busy generator starts calls late and adds its own delay to the latency. Run fewer VUs on one machine, or spread the load over more machines. The CPU is VegaLoad's own process; thepython3processes of a Python scenario are not counted. -
A scenario run adds an
iterationsblock. In a scenario, each call is one request, and an iteration (one run of the whole scenario function) is counted on its own, with its own failures and duration. -
A run that made HTTP calls adds an
endpointsblock, one line per endpoint:endpointsPASS GET /users/{id} 1000 calls, 0 failed (0.00%) p50 273µs p95 478µs max 3.509msPASS POST checkout 2 calls, 0 failed (0.00%) p50 669µs p95 669µs max 669µsA row is the method and a name: the call's
nameoption, itsgroup(), or its URL path with ids shown as{id}. A row shows FAIL if any of its calls failed. A run keeps at most 500 rows; the calls past them are in one row,Other. See Endpoint rows.
The exit code
These are the codes you will see most.
| Exit code | Meaning |
|---|---|
| 0 | The run finished. Every threshold you set passed. |
| 2 | VegaLoad refused to start. For example, the host is not on the allow-list. |
| 3 | A threshold or the baseline gate failed. |
A run with no threshold exits 0 even if every call failed. Always set a limit when a pass or fail matters. For example: -threshold 'error_rate < 0.01'.
The HTML report
The top shows the total, the failed count and the error rate, and the dropped iterations when there were any. It also shows the peak and most VUs, the iterations started and completed, the bytes sent and received, and the time to first byte, when they apply. The warnings follow, such as dropped iterations or an overloaded generator, then a Failures table of the failed calls by reason, and an Errors by kind table with one sample message for each kind. The other sections follow in this order.
Thresholds. One row per limit, with PASS or FAIL, the limit and the observed value. The badge on top says "All thresholds passed" or "Thresholds breached".

Steps. This appears when the scenario wraps stages in step(name, fn). Each step has its own runs, failed count, error rate and p50, p95 and max latency. A step shows FAIL if any of its runs failed. That is not the same as a threshold. A threshold can target a step: -threshold 'p95{step="list"} < 300ms'.

Endpoints. This appears when the run made HTTP calls. Each endpoint row, such as GET /users/{id}, has its own calls, failures, error rate and p50, p95 and max latency. A threshold can target one: -threshold 'p95{protocol="http",op="GET /users/{id}"} < 300ms'.
Protocols. This appears when the run made calls over more than plain HTTP. Each protocol has its own calls, failures and latency. A threshold can target one: -threshold 'p95{protocol="ftp"} < 500ms'.
Latency. The distribution of response times: min, p50, p90, p95, p99, max and mean, one sample per call. The step table has the per-step numbers. Min, max and mean are exact. The percentiles come from a histogram, so memory stays flat on a long run. They are within 2.5% of the exact value for calls slower than 0.5 ms. vegaload run -exact-percentiles keeps every sample for exact percentiles, for small local runs.
Iterations. This appears for a scenario run. It shows how many iterations ran and failed, and how long a whole iteration took.
Over time. Two small charts, one point per second. One shows requests per second. One shows the error rate. A dip or a spike here tells you when something changed.
The JSON summary
-out run.json writes the same numbers as the report. Times are in nanoseconds, in fields that end in _ns.
| Field | What it holds |
|---|---|
executor, started_at, elapsed_ns | How the run was shaped, when it began, how long it ran |
total, failed, error_rate | The call counts. error_rate is a fraction, so 0.029 is 2.9% |
latency | min_ns, mean_ns, max_ns, p50_ns, p90_ns, p95_ns, p99_ns, and the histogram they come from |
failure_reasons | The failed calls by reason: reason and count |
errors | The failures by kind: kind, count and one sample message |
ttfb, bytes_sent, bytes_received | Time to first byte of the HTTP calls, and the bytes moved |
vus_peak, vus_max | The most VUs that ran at once, and the most the load shape allowed |
iterations_started, iterations_completed | Iterations that started, and those that ended |
iterations | A scenario run's iterations: total, failed, error_rate, duration |
dropped_iterations | Arrivals that could not start because every VU was busy |
warnings | Plain sentences, such as too many dropped iterations or an overloaded generator |
generator | How hard the machine running VegaLoad worked: cpus, cpu_avg_percent, cpu_peak_percent, sched_latency_p99_ns, overloaded |
time_series | One entry per second: requests, failed, rps, error_rate |
thresholds | One entry per limit: name, metric, operator, value, observed, passed |
thresholds_passed | true only if every limit passed. Absent if you set none. |
steps | One entry per step, with its own counts and latency |
protocols | One entry per protocol, with its own counts, latency and operations. The operations of http, http1 and http2 are the endpoint rows, with method and endpoint |
An agent reads this file with the get_results tool.
The JUnit file
-junit junit.xml writes one test case for each threshold, check and baseline gate. CI systems such as GitHub Actions, Jenkins and Harness CI show them as tests. The totals and the p95 are in the file as properties.
Compare with an earlier run
Save the JSON from a good run. Pass it on the next run:
vegaload run -target http://localhost:8080/widgets -protocol http1 \
-vus 10 -duration 30s -baseline baseline.json -max-regression 10
If p95 or the error rate is more than 10% worse, the run exits 3. With no -max-regression, any increase fails. VegaLoad keeps no baseline store. The file is yours to keep, for example in the repo.
Explain a bad run
vegaload diagnose run.json
This prints rule-based findings: the failure rate, a long latency tail, and whether failures came in a burst or were spread out. An agent uses the diagnose_failure tool for the same job.