pepe-http 0.49.1 → 0.50.0
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/CHANGELOG.md +90 -0
- package/completions/_pepe +97 -0
- package/completions/_pepe.ps1 +84 -0
- package/completions/pepe.bash +309 -23
- package/completions/pepe.fish +81 -16
- package/man/pepe-export.1 +25 -0
- package/man/pepe.1 +7 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,96 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
|
+
## [0.50.0](https://github.com/omarmhaimdat/pepe/compare/v0.49.1...v0.50.0) - 2026-10-18
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- *(export)* the report as a page, a summary, text or CSV: F4 on any run screen, --export FILE, pepe export ([#211](https://github.com/omarmhaimdat/pepe/pull/211))
|
|
14
|
+
|
|
15
|
+
The report in the shape someone needs it, from the screen, the command
|
|
16
|
+
line, or a saved report. Built to the design bar for user-facing output.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pepe -z 5m -c 50 --fail-if 'p99 > 300ms' --export checkout.html --export checkout.md https://api.example.com/checkout
|
|
20
|
+
pepe export report.json --to all
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
On any run screen (dashboard, ramp, ping), **F4** opens the export page,
|
|
24
|
+
during the run or after it.
|
|
25
|
+
|
|
26
|
+
## The five shapes
|
|
27
|
+
|
|
28
|
+
The file's extension picks the shape.
|
|
29
|
+
|
|
30
|
+
- **`.html`**: one self-contained page, about 15 KB. It loads nothing
|
|
31
|
+
and runs no script, and it follows the reader's light or dark setting.
|
|
32
|
+
It contains:
|
|
33
|
+
- Pepe's face for the verdict;
|
|
34
|
+
- the run summed up in a sentence, and the key numbers;
|
|
35
|
+
- the run's curves second by second, with each anomaly marked on them;
|
|
36
|
+
- the latency spread from p50 to the max;
|
|
37
|
+
- where the time went;
|
|
38
|
+
- each `--fail-if` with the measured value;
|
|
39
|
+
- for a saved test, a before/now table against its last recorded run;
|
|
40
|
+
- findings with the first body of each kind of failure;
|
|
41
|
+
- status codes, endpoints or steps, and the slowest requests.
|
|
42
|
+
|
|
43
|
+
A ramp's page plots throughput and p99 against concurrency, with a table
|
|
44
|
+
of steps.
|
|
45
|
+
- **`.json`**: the report itself.
|
|
46
|
+
- **`.md`**: a summary for a pull request or an issue: verdict, a table
|
|
47
|
+
of numbers, thresholds, comparison, findings, command.
|
|
48
|
+
- **`.txt`**: what pepe prints when you quit.
|
|
49
|
+
- **`.csv`**: one row per second for a run, per step for a ramp, per
|
|
50
|
+
target for a ping.
|
|
51
|
+
|
|
52
|
+
## Where you get them
|
|
53
|
+
|
|
54
|
+
- **F4 on the dashboard, ramp and ping screens**, during the run or
|
|
55
|
+
after:
|
|
56
|
+
- save any one shape, or all of them, to `exports/` (Tab changes the
|
|
57
|
+
location);
|
|
58
|
+
- optionally open the page in the browser;
|
|
59
|
+
- copy the Markdown summary;
|
|
60
|
+
- send the verdict to the run's webhooks now.
|
|
61
|
+
|
|
62
|
+
It exports the run as it stands at that moment. The footer shows "F4
|
|
63
|
+
export" on those screens.
|
|
64
|
+
- **`--export FILE`**, repeatable, or `export = [...]` in `pepe.toml`.
|
|
65
|
+
The file is written when the run ends, at the same point as the Slack
|
|
66
|
+
verdict, so it has the same thresholds and comparison.
|
|
67
|
+
- **`pepe export REPORT.json [-o FILE] [--to html|json|md|txt|csv|all]
|
|
68
|
+
[--open]`** for a report already written. Saved reports only keep
|
|
69
|
+
per-minute points, and they have no thresholds or comparison.
|
|
70
|
+
|
|
71
|
+
`--html` and `pepe html` from the first commit here became `--export`
|
|
72
|
+
and `pepe export`. Neither was ever released.
|
|
73
|
+
|
|
74
|
+
## Also
|
|
75
|
+
|
|
76
|
+
A ramp's findings are named `title`, not `text`, so the Slack verdict
|
|
77
|
+
for a ramp was dropping them. Fixed and tested.
|
|
78
|
+
|
|
79
|
+
## Checked
|
|
80
|
+
|
|
81
|
+
- 403 tests pass; clippy 1.98 is clean. New tests cover the page (run
|
|
82
|
+
and ramp), the Markdown summary, the text fallback, the CSV,
|
|
83
|
+
format-from-extension, file names, and the export page's keys (save one,
|
|
84
|
+
save all, Where, close).
|
|
85
|
+
- Pages from real runs against the bench server, rendered in headless
|
|
86
|
+
Chrome in light and dark. Fixed after looking:
|
|
87
|
+
- an empty request-id column;
|
|
88
|
+
- the version wrapping mid-number;
|
|
89
|
+
- "against" said twice in the comparison heading;
|
|
90
|
+
- no title on the ramp page.
|
|
91
|
+
- The F4 page driven on the real dashboard in a pseudo-terminal:
|
|
92
|
+
- opened mid-run;
|
|
93
|
+
- "Everything" wrote all five files;
|
|
94
|
+
- after the run ended, the Markdown summary saved correctly.
|
|
95
|
+
- `--export` with three files, `pepe export --to all`, and unknown
|
|
96
|
+
extensions, which are refused with the reason.
|
|
97
|
+
|
|
98
|
+
|
|
9
99
|
## [0.49.1](https://github.com/omarmhaimdat/pepe/compare/v0.49.0...v0.49.1) - 2026-10-18
|
|
10
100
|
|
|
11
101
|
### Fixed
|
package/completions/_pepe
CHANGED
|
@@ -37,6 +37,7 @@ _pepe() {
|
|
|
37
37
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
38
38
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
39
39
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
40
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
40
41
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
41
42
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
42
43
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -116,6 +117,7 @@ fail\:"A failure"))' \
|
|
|
116
117
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
117
118
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
118
119
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
120
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
119
121
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
120
122
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
121
123
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -190,6 +192,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
190
192
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
191
193
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
192
194
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
195
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
193
196
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
194
197
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
195
198
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -245,6 +248,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
245
248
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
246
249
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
247
250
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
251
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
248
252
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
249
253
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
250
254
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -301,6 +305,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
301
305
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
302
306
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
303
307
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
308
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
304
309
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
305
310
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
306
311
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -356,6 +361,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
356
361
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
357
362
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
358
363
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
364
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
359
365
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
360
366
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
361
367
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -416,6 +422,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
416
422
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
417
423
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
418
424
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
425
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
419
426
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
420
427
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
421
428
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -472,6 +479,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
472
479
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
473
480
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
474
481
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
482
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
475
483
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
476
484
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
477
485
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -528,6 +536,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
528
536
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
529
537
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
530
538
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
539
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
531
540
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
532
541
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
533
542
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -587,6 +596,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
587
596
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
588
597
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
589
598
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
599
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
590
600
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
591
601
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
592
602
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -643,6 +653,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
643
653
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
644
654
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
645
655
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
656
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
646
657
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
647
658
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
648
659
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -697,6 +708,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
697
708
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
698
709
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
699
710
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
711
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
700
712
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
701
713
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
702
714
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -750,6 +762,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
750
762
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
751
763
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
752
764
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
765
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
753
766
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
754
767
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
755
768
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -805,6 +818,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
805
818
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
806
819
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
807
820
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
821
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
808
822
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
809
823
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
810
824
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -860,6 +874,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
860
874
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
861
875
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
862
876
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
877
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
863
878
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
864
879
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
865
880
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -923,6 +938,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
923
938
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
924
939
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
925
940
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
941
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
926
942
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
927
943
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
928
944
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -976,6 +992,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
976
992
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
977
993
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
978
994
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
995
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
979
996
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
980
997
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
981
998
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1029,6 +1046,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1029
1046
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1030
1047
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1031
1048
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1049
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1032
1050
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1033
1051
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1034
1052
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1083,6 +1101,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1083
1101
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1084
1102
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1085
1103
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1104
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1086
1105
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1087
1106
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1088
1107
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1136,6 +1155,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1136
1155
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1137
1156
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1138
1157
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1158
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1139
1159
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1140
1160
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1141
1161
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1190,6 +1210,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1190
1210
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1191
1211
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1192
1212
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1213
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1193
1214
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1194
1215
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1195
1216
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1243,6 +1264,7 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1243
1264
|
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1244
1265
|
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1245
1266
|
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1267
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1246
1268
|
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1247
1269
|
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1248
1270
|
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
@@ -1324,6 +1346,65 @@ esac
|
|
|
1324
1346
|
;;
|
|
1325
1347
|
esac
|
|
1326
1348
|
;;
|
|
1349
|
+
(export)
|
|
1350
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1351
|
+
'-o+[Where it goes, its format from its extension; beside the report by default]:FILE:_files' \
|
|
1352
|
+
'--out=[Where it goes, its format from its extension; beside the report by default]:FILE:_files' \
|
|
1353
|
+
'--to=[The format when -o doesn'\''t say\: html (the default), json, md, txt, csv, or all]:FORMAT:_default' \
|
|
1354
|
+
'-n+[Number of requests to perform]:NUMBER:_default' \
|
|
1355
|
+
'--number=[Number of requests to perform]:NUMBER:_default' \
|
|
1356
|
+
'-z+[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
|
|
1357
|
+
'--duration=[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
|
|
1358
|
+
'-m+[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
|
|
1359
|
+
'--method=[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
|
|
1360
|
+
'*-H+[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
|
|
1361
|
+
'*--headers=[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
|
|
1362
|
+
'-t+[Time in seconds to wait for a response]:TIMEOUT:_default' \
|
|
1363
|
+
'--timeout=[Time in seconds to wait for a response]:TIMEOUT:_default' \
|
|
1364
|
+
'--warmup=[Send for this long before measuring, e.g. 5s\: connections open, caches fill and JITs settle without counting against the run]:TIME:_default' \
|
|
1365
|
+
'--threads=[Threads sending requests (default 1), or "auto" to add one whenever those sending are all busy. One sends 100k requests a second or more; the dashboard says when it is the limit]:N|auto:_default' \
|
|
1366
|
+
'--rate=[Start this many requests a second, spread evenly, instead of as many as the concurrency allows; -c is then the most in flight at once, and pepe says when it holds the rate back]:PER_SECOND:_default' \
|
|
1367
|
+
'-d+[HTTP request body]:BODY:_default' \
|
|
1368
|
+
'--body=[HTTP request body]:BODY:_default' \
|
|
1369
|
+
'-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
|
|
1370
|
+
'--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
|
|
1371
|
+
'--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
|
|
1372
|
+
'--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
|
|
1373
|
+
'*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
|
|
1374
|
+
'--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
|
|
1375
|
+
'--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
|
|
1376
|
+
'*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
|
|
1377
|
+
'--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
|
|
1378
|
+
'*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
|
|
1379
|
+
'--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
|
|
1380
|
+
'--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
|
|
1381
|
+
'--max-concurrency=[Refuse a concurrency above this]:N:_default' \
|
|
1382
|
+
'*--fail-if=[End with exit code 4 when the run crosses this, for CI and scripts\: '\''p99 > 300ms'\'', '\''errors > 1%'\''; repeat for more. The report is still printed. (pepe ping has --slo for the same.)]:CONDITION:_default' \
|
|
1383
|
+
'--metrics=[Serve the live numbers for Prometheus at http\://ADDR/metrics while the run goes, e.g. \:9100 or 127.0.0.1\:9100, so a soak run or a long ping shows up in Grafana next to the server'\''s own]:ADDR:_default' \
|
|
1384
|
+
'--config=[Read settings from this file instead of ./pepe.toml; flags on the command line win over it]:FILE:_files' \
|
|
1385
|
+
'--write-config=[Write the settings as they stand to this file, as a pepe.toml, and exit]:FILE:_files' \
|
|
1386
|
+
'(--config)--load=[Run a test saved on the setup screen (ctrl-s)\: ./.pepe/tests/NAME.toml; flags on the command line win over it]:NAME:_default' \
|
|
1387
|
+
'--keep=[Keep the settings as they stand as a saved test, ./.pepe/tests/NAME.toml, then run. With --load and no NAME, the loaded test is updated in place; with another NAME, it'\''s copied]::NAME:_default' \
|
|
1388
|
+
'-c+[Number of concurrent requests at a time]:CONCURRENCY:_default' \
|
|
1389
|
+
'--concurrency=[Number of concurrent requests at a time]:CONCURRENCY:_default' \
|
|
1390
|
+
'-u+[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
|
|
1391
|
+
'--user-agent=[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
|
|
1392
|
+
'--open[Open it once written]' \
|
|
1393
|
+
'-h[Print help]' \
|
|
1394
|
+
'--help[Print help]' \
|
|
1395
|
+
'-k[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
|
|
1396
|
+
'--insecure[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
|
|
1397
|
+
'--disable-compression[Disable HTTP compression, e.g. gzip]' \
|
|
1398
|
+
'--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
|
|
1399
|
+
'--disable-redirects[Prevent http redirects]' \
|
|
1400
|
+
'--json[Output results in JSON format]' \
|
|
1401
|
+
'--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
|
|
1402
|
+
'-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
|
|
1403
|
+
'--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
|
|
1404
|
+
'--record[Keep the run'\''s report under its saved test when it ends, as ./.pepe/runs/NAME/<moment>.json; the run has to be a saved test (--load NAME, or --keep NAME)]' \
|
|
1405
|
+
':report -- The JSON report\: a run'\''s (--json, --snapshot, a recorded run), a ramp'\''s or a ping'\''s:_files' \
|
|
1406
|
+
&& ret=0
|
|
1407
|
+
;;
|
|
1327
1408
|
(help)
|
|
1328
1409
|
_arguments "${_arguments_options[@]}" : \
|
|
1329
1410
|
":: :_pepe__subcmd__help_commands" \
|
|
@@ -1432,6 +1513,10 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
1432
1513
|
;;
|
|
1433
1514
|
esac
|
|
1434
1515
|
;;
|
|
1516
|
+
(export)
|
|
1517
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1518
|
+
&& ret=0
|
|
1519
|
+
;;
|
|
1435
1520
|
(help)
|
|
1436
1521
|
_arguments "${_arguments_options[@]}" : \
|
|
1437
1522
|
&& ret=0
|
|
@@ -1462,6 +1547,7 @@ _pepe_commands() {
|
|
|
1462
1547
|
'self-update:Update pepe to the latest release, or say what'\''s new in it' \
|
|
1463
1548
|
'completions:Tab completion for your shell\: print the script, or --install it' \
|
|
1464
1549
|
'slack:Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes' \
|
|
1550
|
+
'export:Turn a JSON report into a page, a Markdown summary, text or CSV' \
|
|
1465
1551
|
'help:Print this message or the help of the given subcommand(s)' \
|
|
1466
1552
|
)
|
|
1467
1553
|
_describe -t commands 'pepe commands' commands "$@"
|
|
@@ -1481,6 +1567,11 @@ _pepe__subcmd__completions_commands() {
|
|
|
1481
1567
|
local commands; commands=()
|
|
1482
1568
|
_describe -t commands 'pepe completions commands' commands "$@"
|
|
1483
1569
|
}
|
|
1570
|
+
(( $+functions[_pepe__subcmd__export_commands] )) ||
|
|
1571
|
+
_pepe__subcmd__export_commands() {
|
|
1572
|
+
local commands; commands=()
|
|
1573
|
+
_describe -t commands 'pepe export commands' commands "$@"
|
|
1574
|
+
}
|
|
1484
1575
|
(( $+functions[_pepe__subcmd__flow_commands] )) ||
|
|
1485
1576
|
_pepe__subcmd__flow_commands() {
|
|
1486
1577
|
local commands; commands=()
|
|
@@ -1503,6 +1594,7 @@ _pepe__subcmd__help_commands() {
|
|
|
1503
1594
|
'self-update:Update pepe to the latest release, or say what'\''s new in it' \
|
|
1504
1595
|
'completions:Tab completion for your shell\: print the script, or --install it' \
|
|
1505
1596
|
'slack:Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes' \
|
|
1597
|
+
'export:Turn a JSON report into a page, a Markdown summary, text or CSV' \
|
|
1506
1598
|
'help:Print this message or the help of the given subcommand(s)' \
|
|
1507
1599
|
)
|
|
1508
1600
|
_describe -t commands 'pepe help commands' commands "$@"
|
|
@@ -1522,6 +1614,11 @@ _pepe__subcmd__help__subcmd__completions_commands() {
|
|
|
1522
1614
|
local commands; commands=()
|
|
1523
1615
|
_describe -t commands 'pepe help completions commands' commands "$@"
|
|
1524
1616
|
}
|
|
1617
|
+
(( $+functions[_pepe__subcmd__help__subcmd__export_commands] )) ||
|
|
1618
|
+
_pepe__subcmd__help__subcmd__export_commands() {
|
|
1619
|
+
local commands; commands=()
|
|
1620
|
+
_describe -t commands 'pepe help export commands' commands "$@"
|
|
1621
|
+
}
|
|
1525
1622
|
(( $+functions[_pepe__subcmd__help__subcmd__flow_commands] )) ||
|
|
1526
1623
|
_pepe__subcmd__help__subcmd__flow_commands() {
|
|
1527
1624
|
local commands; commands=()
|