postman-cli 1.27.0 → 1.28.0-preview.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/man/postman.1 +54 -1
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2025-12-
|
|
1
|
+
.TH POSTMAN 1 "2025-12-23" "v1.28.0-preview.1" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -415,6 +415,59 @@ Skip the prepare step before pushing
|
|
|
415
415
|
.B \-y, \-\-yes
|
|
416
416
|
Skip all confirmation prompts
|
|
417
417
|
|
|
418
|
+
.SS "performance"
|
|
419
|
+
[BETA] Manage performance tests on your collections.
|
|
420
|
+
|
|
421
|
+
.B Usage:
|
|
422
|
+
[options] [command]
|
|
423
|
+
|
|
424
|
+
.B Subcommands:
|
|
425
|
+
.TP
|
|
426
|
+
.B performance run
|
|
427
|
+
Run a performance test on a collection
|
|
428
|
+
|
|
429
|
+
.SS "performance run"
|
|
430
|
+
Run a performance test on a collection
|
|
431
|
+
|
|
432
|
+
.B Usage:
|
|
433
|
+
<collectionId> [options]
|
|
434
|
+
|
|
435
|
+
.B Options:
|
|
436
|
+
.TP
|
|
437
|
+
.B \-e, \-\-environment <id>
|
|
438
|
+
Specify an Id to a Postman Environment
|
|
439
|
+
.TP
|
|
440
|
+
.B \-g, \-\-globals <id>
|
|
441
|
+
Specify an Id to a Postman Globals
|
|
442
|
+
.TP
|
|
443
|
+
.B \-\-vu\-count <count>
|
|
444
|
+
Number of virtual users (default: 20)
|
|
445
|
+
.TP
|
|
446
|
+
.B \-d, \-\-duration <minutes>
|
|
447
|
+
Duration of the performance test in minutes (default: 10)
|
|
448
|
+
.TP
|
|
449
|
+
.B \-p, \-\-load\-profile <profile>
|
|
450
|
+
Load profile type: fixed, ramp\-up, spike, peak (default: ramp\-up)
|
|
451
|
+
.TP
|
|
452
|
+
.B \-\-data\-file <path>
|
|
453
|
+
Path to a JSON or CSV data file to use with the collection
|
|
454
|
+
.TP
|
|
455
|
+
.B \-\-postman\-api\-key <apiKey>
|
|
456
|
+
API Key used to load the resources from the Postman API (Only supported in the US region, use 'postman login \-\-region' to authenticate instead)
|
|
457
|
+
.TP
|
|
458
|
+
.B \-\-pass\-if <condition>
|
|
459
|
+
Pass condition in format: function(metric, value).
|
|
460
|
+
Functions: less_than, greater_than, less_than_eq, greater_than_eq.
|
|
461
|
+
Metrics: avg, p90, p95, p99, error_rate, rps.
|
|
462
|
+
Example: less_than(p95, 500) or less_than(error_rate, 5)
|
|
463
|
+
|
|
464
|
+
.TP Examples:
|
|
465
|
+
|
|
466
|
+
Examples:
|
|
467
|
+
postman performance run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab \-\-vu\-count 50 \-\-duration 15
|
|
468
|
+
postman performance run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab \-\-pass\-if "less_than(p95, 500)"
|
|
469
|
+
|
|
470
|
+
|
|
418
471
|
.SS "request"
|
|
419
472
|
Send HTTP requests from the command line with full Postman capabilities including authentication, environment variables, assertions, retries, and detailed output control.
|
|
420
473
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0-preview.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.
|
|
62
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
64
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
65
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
61
|
+
"@postman/pm-bin-macos-arm64": "1.28.0-preview.1",
|
|
62
|
+
"@postman/pm-bin-macos-x64": "1.28.0-preview.1",
|
|
63
|
+
"@postman/pm-bin-linux-x64": "1.28.0-preview.1",
|
|
64
|
+
"@postman/pm-bin-linux-arm64": "1.28.0-preview.1",
|
|
65
|
+
"@postman/pm-bin-windows-x64": "1.28.0-preview.1"
|
|
66
66
|
}
|
|
67
67
|
}
|