postman-cli 1.89.0 → 1.90.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/man/postman.1 +23 -4
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-11-13" "v1.
|
|
1
|
+
.TH POSTMAN 1 "2026-11-13" "v1.90.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -353,7 +353,7 @@ Add, get, update, or remove folders in a local v3 collection.
|
|
|
353
353
|
Add, update, remove, get, or list examples (saved responses) under a request.
|
|
354
354
|
.TP
|
|
355
355
|
.B collection import
|
|
356
|
-
Import a cURL, HAR,
|
|
356
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
357
357
|
.TP
|
|
358
358
|
.B collection list
|
|
359
359
|
List collections: your local project's collections by default, or a Postman cloud workspace's collections with \-\-workspace.
|
|
@@ -423,6 +423,12 @@ Exit with failure if diagnostics at this level or above are present. [choices: "
|
|
|
423
423
|
.TP
|
|
424
424
|
.B \-r, \-\-reporter <value>
|
|
425
425
|
Output format: cli (human\-readable) or json. (default: cli)
|
|
426
|
+
.TP
|
|
427
|
+
.B \-\-readyapi
|
|
428
|
+
Lint a ReadyAPI\-imported collection: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.
|
|
429
|
+
.TP
|
|
430
|
+
.B \-\-allow\-pending
|
|
431
|
+
With \-\-readyapi, treat un\-translated Groovy placeholders as warnings, not errors.
|
|
426
432
|
|
|
427
433
|
.SS "collection ai\-readiness"
|
|
428
434
|
Score a Postman collection for AI readiness by ID, local file path, or local\-mode directory.
|
|
@@ -1241,7 +1247,7 @@ Example type for cloud mode: http. (default: http)
|
|
|
1241
1247
|
JSON output.
|
|
1242
1248
|
|
|
1243
1249
|
.SS "collection import"
|
|
1244
|
-
Import a cURL, HAR,
|
|
1250
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
1245
1251
|
|
|
1246
1252
|
.B Usage:
|
|
1247
1253
|
[options] <src>
|
|
@@ -1249,7 +1255,7 @@ Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or clou
|
|
|
1249
1255
|
.B Options:
|
|
1250
1256
|
.TP
|
|
1251
1257
|
.B \-\-type <format>
|
|
1252
|
-
Source format: curl, har, or
|
|
1258
|
+
Source format: curl, har, jmeter, or readyapi. Auto\-detected from the extension/content when omitted.
|
|
1253
1259
|
.TP
|
|
1254
1260
|
.B \-\-name <name>
|
|
1255
1261
|
Collection display name. Defaults to a per\-format fallback.
|
|
@@ -1280,6 +1286,7 @@ Examples:
|
|
|
1280
1286
|
postman collection import ./login.curl
|
|
1281
1287
|
postman collection import ./session.har \-\-name "Recorded session"
|
|
1282
1288
|
postman collection import ./load\-test.jmx \-\-name "Load test"
|
|
1289
|
+
postman collection import ./project.xml \-\-type readyapi \-\-name "Orders API"
|
|
1283
1290
|
pbpaste | postman collection import \- \-\-type curl \-\-name Users
|
|
1284
1291
|
postman collection import ./session.har \-\-name Session \-\-workspace <workspaceId>
|
|
1285
1292
|
|
|
@@ -5644,6 +5651,16 @@ Eligible runs are recorded in the mock's start history (source: cli) so they app
|
|
|
5644
5651
|
In CI the pipeline/branch is captured automatically. Best\-effort and never blocks the server;
|
|
5645
5652
|
use \-\-no\-history to opt out.
|
|
5646
5653
|
|
|
5654
|
+
A mock whose config.yaml sets "interceptRequests: false" does not answer requests itself:
|
|
5655
|
+
each one is forwarded to the upstream its "origin" names, path and query intact, and the
|
|
5656
|
+
response relayed back. A bare hostname is forwarded over https; write the scheme for
|
|
5657
|
+
anything else (origin: http://localhost:8080). Absent or true, the mock answers as usual.
|
|
5658
|
+
|
|
5659
|
+
Request bodies are parsed into req.body up to 10 MB. A larger body is still served, with
|
|
5660
|
+
req.body left undefined so the handler reads it as a stream; nothing is rejected at any size.
|
|
5661
|
+
Raise the cap with "maxRequestBodySize: 200mb" in config.yaml (or "unlimited"), or override it
|
|
5662
|
+
with POSTMAN_CLI_MOCK_MAX_REQUEST_BODY.
|
|
5663
|
+
|
|
5647
5664
|
Paths can be relative (e.g. ./postman/mocks/orders) or absolute (e.g. /Users/me/postman/mocks/orders).
|
|
5648
5665
|
|
|
5649
5666
|
|
|
@@ -6283,6 +6300,8 @@ Eg. postman simulation run ./postman/simulations/checkout/checkout.sim.yaml \-\-
|
|
|
6283
6300
|
|
|
6284
6301
|
\-\-proxy reads the same .sim.yaml, starts the mocks on throwaway ports behind the proxy, and records no start history. The hostnames a member stands in for are its `origin:` in the .sim.yaml, as a string or a list, and a member with none is never matched, so its host reaches the real service. `simulation create` copies that value from the mock's own manifest, which is where it is declared — so adding an `origin:` to a manifest does not change a .sim.yaml that already exists. Edit the member, or recreate the simulation.
|
|
6285
6302
|
|
|
6303
|
+
A member whose mock sets `interceptRequests: false` in its config.yaml is not matched either: its hostnames stay unclaimed and undecrypted, so those requests reach the real upstream. On the one routed port the same member forwards to its `origin:` instead.
|
|
6304
|
+
|
|
6286
6305
|
Because the mocks sit on throwaway ports, a manifest's own `port` is ignored. A member that does not answer within 30s gives 504 and one that cannot be reached gives 502. Ctrl+C prints the total, mocked and passed\-through request counts.
|
|
6287
6306
|
|
|
6288
6307
|
Every \-\-proxy\-* flag, plus \-\-scenario, \-\-session, \-\-log\-format, \-\-log\-body, \-\-doctor and \-\-lift, is inert without \-\-proxy and passing one alone is a usage error (exit 2), as is an unsupported \-\-log\-format.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.0",
|
|
4
4
|
"description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postman",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"scripts/"
|
|
58
58
|
],
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@postman/pm-bin-macos-arm64": "1.
|
|
61
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
62
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
64
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
60
|
+
"@postman/pm-bin-macos-arm64": "1.90.0",
|
|
61
|
+
"@postman/pm-bin-macos-x64": "1.90.0",
|
|
62
|
+
"@postman/pm-bin-linux-x64": "1.90.0",
|
|
63
|
+
"@postman/pm-bin-linux-arm64": "1.90.0",
|
|
64
|
+
"@postman/pm-bin-windows-x64": "1.90.0"
|
|
65
65
|
}
|
|
66
66
|
}
|