pepe-http 0.43.1 → 0.46.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.
@@ -0,0 +1,32 @@
1
+ .ie \n(.g .ds Aq \(aq
2
+ .el .ds Aq '
3
+ .TH pepe-slack 1 pepe "User Commands"
4
+ .SH NAME
5
+ pepe\-slack \- Connect pepe to Slack from here, so \-\-slack keeps a message there up to date as a run goes
6
+ .SH SYNOPSIS
7
+ \fBpepe slack\fR [\fB\-h\fR|\fB\-\-help\fR] [\fIsubcommands\fR]
8
+ .SH DESCRIPTION
9
+ Connect pepe to Slack from here, so \-\-slack keeps a message there up to date as a run goes
10
+ .SH OPTIONS
11
+ .TP
12
+ \fB\-h\fR, \fB\-\-help\fR
13
+ Print help
14
+ .SH SUBCOMMANDS
15
+ .TP
16
+ pepe\-slack\-connect(1)
17
+ Make pepe\*(Aqs Slack app, take its token, pick a channel, post a test (the default)
18
+ .TP
19
+ pepe\-slack\-status(1)
20
+ What is connected, checked with Slack
21
+ .TP
22
+ pepe\-slack\-test(1)
23
+ Post a test message
24
+ .TP
25
+ pepe\-slack\-forget(1)
26
+ Remove the kept token
27
+ .TP
28
+ pepe\-slack\-manifest(1)
29
+ Print the app\*(Aqs manifest, for Slack\*(Aqs "From a manifest"
30
+ .TP
31
+ pepe\-slack\-help(1)
32
+ Print this message or the help of the given subcommand(s)
package/man/pepe.1 CHANGED
@@ -8,7 +8,7 @@ pepe \- HTTP load generator
8
8
  .ie \n(.g .ds Aq \(aq
9
9
  .el .ds Aq '
10
10
  .SH SYNOPSIS
11
- \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
11
+ \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-vars\fR] [\fB\-\-webhook\fR] [\fB\-\-webhook\-on\fR] [\fB\-\-slack\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
12
12
  .ie \n(.g .ds Aq \(aq
13
13
  .el .ds Aq '
14
14
  .SH DESCRIPTION
@@ -77,6 +77,18 @@ Output results in JSON format
77
77
  \fB\-\-trace\-header\fR \fI<NAME>\fR
78
78
  Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\*(Aqs logs; without it, X\-Request\-Id, traceparent, CF\-Ray, X\-Amzn\-Trace\-Id and other common ones are looked for
79
79
  .TP
80
+ \fB\-\-vars\fR \fI<FILE>\fR
81
+ 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\*(Aqs values
82
+ .TP
83
+ \fB\-\-webhook\fR \fI<URL>\fR
84
+ Send the run\*(Aqs 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
85
+ .TP
86
+ \fB\-\-webhook\-on\fR \fI<EVENTS>\fR
87
+ When the \-\-webhook URLs are sent: start, progress, anomaly, end, fail (the end when a \-\-fail\-if was crossed), comma\-separated; end by default
88
+ .TP
89
+ \fB\-\-slack\fR[=\fI<CHANNEL>\fR]
90
+ 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
91
+ .TP
80
92
  \fB\-\-snapshot\fR \fI<FILE>\fR
81
93
  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\*(Aqs numbers survive a crash or a lost terminal; it has a minute\-by\-minute timeline of the whole run
82
94
  .TP
@@ -173,6 +185,9 @@ Update pepe to the latest release, or say what\*(Aqs new in it
173
185
  pepe\-completions(1)
174
186
  Tab completion for your shell: print the script, or \-\-install it
175
187
  .TP
188
+ pepe\-slack(1)
189
+ Connect pepe to Slack from here, so \-\-slack keeps a message there up to date as a run goes
190
+ .TP
176
191
  pepe\-help(1)
177
192
  Print this message or the help of the given subcommand(s)
178
193
  .ie \n(.g .ds Aq \(aq
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.43.1"
22
+ "version": "0.46.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.43.1"
51
+ "version": "0.46.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/omarmhaimdat/pepe/releases/download/v0.43.1"
3
+ "https://github.com/omarmhaimdat/pepe/releases/download/v0.46.0"
4
4
  ],
5
5
  "author": "Omar MHAIMDAT",
6
6
  "bin": {
@@ -119,7 +119,7 @@
119
119
  "zipExt": ".tar.xz"
120
120
  }
121
121
  },
122
- "version": "0.43.1",
122
+ "version": "0.46.0",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"