postman-cli 1.33.6 → 1.34.1

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/bin/postman.js CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ // Keep this wrapper alive while the native binary handles shutdown gracefully.
4
+ process.on('SIGINT', function () {});
5
+ process.on('SIGTERM', function () {});
6
+
3
7
  const run = require('../index');
4
8
 
5
9
  try {
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-04-08" "v1.33.6" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-04-21" "v1.34.1" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -142,7 +142,7 @@ Define the number of iterations to run
142
142
  Specify a data file to use for iterations (either JSON or CSV)
143
143
  .TP
144
144
  .B \-i <id>
145
- Specify the request/folder id or name to run from the collection. Can be specified multiple times to run multiple items (default: )
145
+ Specify the request/folder id, name, or path to run from the collection. Use a path (e.g. "FolderName/RequestName") to disambiguate items with the same name. Can be specified multiple times to run multiple items (default: )
146
146
  .TP
147
147
  .B \-\-global\-var <value>
148
148
  Allows the specification of global variables via the command line, in a key=value format
@@ -226,6 +226,9 @@ Show detailed information of collection run and each request sent
226
226
  .B \-\-mock <path>
227
227
  Start a mock server from manifest (.json) file
228
228
  .TP
229
+ .B \-\-simulate <path>
230
+ Start mock servers with fault\-injection scenarios from a .sim.yaml file
231
+ .TP
229
232
  .B \-\-report\-events
230
233
  Report run events
231
234
 
@@ -509,6 +512,9 @@ Pass condition in format: function(metric, value).
509
512
  Functions: less_than, greater_than, less_than_eq, greater_than_eq.
510
513
  Metrics: avg, p90, p95, p99, error_rate, rps.
511
514
  Example: less_than(p95, 500) or less_than(error_rate, 5)
515
+ .TP
516
+ .B \-\-persist\-metrics
517
+ Persist detailed run results to cloud for analysis (default: false)
512
518
 
513
519
  .TP Examples:
514
520
 
@@ -1162,7 +1168,7 @@ Generate a new SDK from a Postman collection or specification.
1162
1168
  .B Options:
1163
1169
  .TP
1164
1170
  .B \-l, \-\-language <languages...>
1165
- Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "cli"]
1171
+ Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin"]
1166
1172
  .TP
1167
1173
  .B \-\-all
1168
1174
  Generate SDKs for all supported languages
@@ -1338,7 +1344,7 @@ Connect a collection or specification to a Git repository for automated SDK PRs
1338
1344
  .B Options:
1339
1345
  .TP
1340
1346
  .B \-l, \-\-language <language>
1341
- SDK language (required) [choices: typescript, python, java, go, csharp, php, cli]
1347
+ SDK language (required) [choices: typescript, python, java, go, csharp, php, ruby, cli, kotlin]
1342
1348
  .TP
1343
1349
  .B \-w, \-\-workspace <workspaceId>
1344
1350
  Workspace ID (optional)
@@ -1389,6 +1395,23 @@ Eg. postman mock run ./postman/mock\-manifest.json
1389
1395
  postman mock run ./manifest.json \-\-environment ./postman/environments/dev.yaml
1390
1396
 
1391
1397
 
1398
+ .SS "simulate"
1399
+ Start mock servers with simulated failure scenarios.
1400
+
1401
+ .B Usage:
1402
+ [options] [command]
1403
+
1404
+ .B Subcommands:
1405
+ .TP
1406
+ .B simulate run
1407
+ Start mocks with fault\-injection scenarios defined in a .sim.yaml file
1408
+
1409
+ .SS "simulate run"
1410
+ Start mocks with fault\-injection scenarios defined in a .sim.yaml file
1411
+
1412
+ .B Usage:
1413
+ [options] <filepath>
1414
+
1392
1415
  .SH SEE ALSO
1393
1416
  Full documentation: https://learning.postman.com/docs/postman\-cli/postman\-cli\-overview/
1394
1417
  .SH AUTHOR
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.33.6",
3
+ "version": "1.34.1",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -58,10 +58,10 @@
58
58
  "man/"
59
59
  ],
60
60
  "optionalDependencies": {
61
- "@postman/pm-bin-macos-arm64": "1.33.6",
62
- "@postman/pm-bin-macos-x64": "1.33.6",
63
- "@postman/pm-bin-linux-x64": "1.33.6",
64
- "@postman/pm-bin-linux-arm64": "1.33.6",
65
- "@postman/pm-bin-windows-x64": "1.33.6"
61
+ "@postman/pm-bin-macos-arm64": "1.34.1",
62
+ "@postman/pm-bin-macos-x64": "1.34.1",
63
+ "@postman/pm-bin-linux-x64": "1.34.1",
64
+ "@postman/pm-bin-linux-arm64": "1.34.1",
65
+ "@postman/pm-bin-windows-x64": "1.34.1"
66
66
  }
67
67
  }