loadam 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist/bin.js +811 -64
- package/dist/bin.js.map +1 -1
- package/dist/index.js +811 -64
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,8 @@ That's it. One spec → three production-grade rigs **plus** a session archive a
|
|
|
20
20
|
|
|
21
21
|
Both are compiled from the same **Intermediate Representation (IR)** built from your spec.
|
|
22
22
|
|
|
23
|
+
> **What's new in 0.2.4** — branded HTML report with a per-endpoint sidebar (live p95 + status-code distribution), filter chips (All / Failed / Flaky / Passed), three-tier overall status (`passed` ≥ 99% · `flaky` ≥ 95% · `failed` < 95%), and per-op latency/status sub-metrics emitted by generated k6 scripts. See the [CHANGELOG](CHANGELOG.md#024---2026-05-02) for the full list.
|
|
24
|
+
|
|
23
25
|
---
|
|
24
26
|
|
|
25
27
|
## Install
|
|
@@ -73,6 +75,12 @@ loadam test ./openapi.yaml --target $LOADAM_TARGET --no-interactive --json | jq
|
|
|
73
75
|
|
|
74
76
|
Set `LOADAM_TARGET` once per shell to drop the `--target` flag from every invocation.
|
|
75
77
|
|
|
78
|
+
<p align="center">
|
|
79
|
+
<img src="https://raw.githubusercontent.com/DesmondSanctity/loadam/main/.github/assets/report-screenshot.png" alt="loadam HTML report" width="720">
|
|
80
|
+
<br>
|
|
81
|
+
<sub><i>The single-file HTML report — branded header, per-endpoint sidebar, filter chips, threshold panel.</i></sub>
|
|
82
|
+
</p>
|
|
83
|
+
|
|
76
84
|
## Commands
|
|
77
85
|
|
|
78
86
|
| Command | What it does | Output |
|
|
@@ -124,7 +132,7 @@ loadam report latest --open # one-file HTML report (charts, dark mode)
|
|
|
124
132
|
loadam clean --older-than 7d --apply # prune old runs
|
|
125
133
|
```
|
|
126
134
|
|
|
127
|
-
The HTML report is a single self-contained file (no external CDNs, no JS dependencies) and is safe to drop into a CI artefact store, gh-pages, or Slack.
|
|
135
|
+
The HTML report is a single self-contained file (no external CDNs, no JS dependencies) and is safe to drop into a CI artefact store, gh-pages, or Slack. It includes a per-endpoint sidebar with live p95 and status-code distribution, filter chips (All / Failed / Flaky / Passed), and a three-tier overall status (passed · flaky · failed) so you can tell at a glance whether a run is genuinely broken or just noisy.
|
|
128
136
|
|
|
129
137
|
## Why loadam
|
|
130
138
|
|