postman-cli 1.74.0 → 1.75.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 +84 -1
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-10-
|
|
1
|
+
.TH POSTMAN 1 "2026-10-16" "v1.75.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -2940,6 +2940,9 @@ Lint the current local Postman workspace: its configuration (.postman/resources.
|
|
|
2940
2940
|
.B workspace get
|
|
2941
2941
|
Read a workspace's metadata, and optionally the ids of what it holds.
|
|
2942
2942
|
.TP
|
|
2943
|
+
.B workspace activity
|
|
2944
|
+
Read a workspace's activity feed.
|
|
2945
|
+
.TP
|
|
2943
2946
|
.B workspace create
|
|
2944
2947
|
Create a Postman workspace and bind it to this git repository.
|
|
2945
2948
|
.TP
|
|
@@ -3089,6 +3092,50 @@ Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
|
|
|
3089
3092
|
|
|
3090
3093
|
|
|
3091
3094
|
|
|
3095
|
+
.SS "workspace activity"
|
|
3096
|
+
Read a workspace's activity feed.
|
|
3097
|
+
|
|
3098
|
+
.B Usage:
|
|
3099
|
+
[options] [id]
|
|
3100
|
+
|
|
3101
|
+
.B Options:
|
|
3102
|
+
.TP
|
|
3103
|
+
.B \-\-type <types>
|
|
3104
|
+
Comma\-separated element types to filter on, e.g. "api,collection".
|
|
3105
|
+
.TP
|
|
3106
|
+
.B \-\-contributor <ids>
|
|
3107
|
+
Comma\-separated user ids to filter on.
|
|
3108
|
+
.TP
|
|
3109
|
+
.B \-\-cursor <cursor>
|
|
3110
|
+
Fetch the page of entries that follows this cursor.
|
|
3111
|
+
.TP
|
|
3112
|
+
.B \-\-limit <n>
|
|
3113
|
+
Max entries to return.
|
|
3114
|
+
.TP
|
|
3115
|
+
.B \-\-markdown
|
|
3116
|
+
Ask the API for a human\-readable description of each entry.
|
|
3117
|
+
.TP
|
|
3118
|
+
.B \-\-json
|
|
3119
|
+
Print the feed as machine\-readable JSON.
|
|
3120
|
+
.TP
|
|
3121
|
+
.B \-\-timeout <ms>
|
|
3122
|
+
Milliseconds to wait for the API (default 30000).
|
|
3123
|
+
|
|
3124
|
+
.TP Examples:
|
|
3125
|
+
|
|
3126
|
+
Examples:
|
|
3127
|
+
postman workspace activity
|
|
3128
|
+
Reads the current folder's bound workspace
|
|
3129
|
+
postman workspace activity 00a50319\-1262\-49d2\-83e5\-551e3c5dba00
|
|
3130
|
+
postman workspace activity <id> \-\-type api,collection
|
|
3131
|
+
postman workspace activity <id> \-\-contributor <userId>
|
|
3132
|
+
postman workspace activity <id> \-\-markdown
|
|
3133
|
+
postman workspace activity <id> \-\-json
|
|
3134
|
+
|
|
3135
|
+
Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
|
|
3092
3139
|
.SS "workspace create"
|
|
3093
3140
|
Create a Postman workspace and bind it to this git repository.
|
|
3094
3141
|
|
|
@@ -4812,6 +4859,9 @@ Do not record this run in the mock's start history.
|
|
|
4812
4859
|
.B \-\-output <format>
|
|
4813
4860
|
Live output format: auto (default, human\-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non\-interactive use) (default: auto)
|
|
4814
4861
|
.TP
|
|
4862
|
+
.B \-\-verbose
|
|
4863
|
+
Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.
|
|
4864
|
+
.TP
|
|
4815
4865
|
.B \-\-dataset <pathOrDir>
|
|
4816
4866
|
Pass \-\-dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock's handlers as pm.datasets(<id>). (default: )
|
|
4817
4867
|
|
|
@@ -4823,6 +4873,7 @@ Eg. postman mock run 12345678\-90ab\-cdef\-1234\-567890abcdef # by id, from Pos
|
|
|
4823
4873
|
postman mock run ./postman/mocks/orders \-\-port auto # pick any free port
|
|
4824
4874
|
postman mock run ./postman/mocks/orders \-\-port 4600 # use port 4600 (fails if it is in use)
|
|
4825
4875
|
postman mock run ./postman/mocks/orders \-\-output ndjson # stream machine\-readable events
|
|
4876
|
+
postman mock run ./postman/mocks/orders \-\-verbose # include headers and bodies
|
|
4826
4877
|
postman mock run ./postman/mocks/orders \-\-workspace <id> # record start history for a path run
|
|
4827
4878
|
postman mock run ./postman/mocks/orders \-\-dataset ./postman/datasets/Orders
|
|
4828
4879
|
|
|
@@ -5124,6 +5175,12 @@ Dispatch application test run results to the API Catalog and Application Invento
|
|
|
5124
5175
|
.B \-\-no\-report\-events
|
|
5125
5176
|
Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines
|
|
5126
5177
|
.TP
|
|
5178
|
+
.B \-\-generate\-collection
|
|
5179
|
+
Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.
|
|
5180
|
+
.TP
|
|
5181
|
+
.B \-y, \-\-yes
|
|
5182
|
+
Do not prompt for collection, command, or capture\-plugin setup: generate a collection from test traffic when none is configured, run `npx playwright test` when neither \-\-command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.
|
|
5183
|
+
.TP
|
|
5127
5184
|
.B \-\-verbose
|
|
5128
5185
|
Show detailed per\-request matching, sandbox errors, and debug information
|
|
5129
5186
|
|
|
@@ -5142,6 +5199,12 @@ Run results are dispatched to the API Catalog and Application Inventory
|
|
|
5142
5199
|
ingestion pipelines automatically after analysis.
|
|
5143
5200
|
Use \-\-report\-events=false (or \-\-report\-events false) to skip dispatching run results.
|
|
5144
5201
|
|
|
5202
|
+
Outside an interactive terminal (CI, piped input), setup never prompts.
|
|
5203
|
+
With \-\-yes, the collection, command, and capture\-plugin steps do not
|
|
5204
|
+
prompt either. With no command set, `npx playwright test` is used when a
|
|
5205
|
+
playwright.config.* is found. Other missing answers exit with code 2: pass
|
|
5206
|
+
\-\-target\-collection, \-\-generate\-collection, \-\-command, or \-\-yes.
|
|
5207
|
+
|
|
5145
5208
|
Examples:
|
|
5146
5209
|
postman application test \-\-command "npx playwright test"
|
|
5147
5210
|
postman application test \-\-target prod
|
|
@@ -5149,6 +5212,8 @@ Examples:
|
|
|
5149
5212
|
postman application test \-\-target beta \-\-target\-collection api.json \-\-target\-environment staging.json
|
|
5150
5213
|
postman app test \-\-capture\-only \-\-command "npx playwright test"
|
|
5151
5214
|
postman app test \-\-capture\-only \-\-output ./my\-captured\-traffic/
|
|
5215
|
+
postman app test \-\-yes
|
|
5216
|
+
postman app test \-\-generate\-collection \-\-command "npx playwright test"
|
|
5152
5217
|
|
|
5153
5218
|
|
|
5154
5219
|
.SS "application setup\-capture"
|
|
@@ -5161,6 +5226,12 @@ Install postman\-playwright and patch playwright.config.* to capture network tra
|
|
|
5161
5226
|
.TP
|
|
5162
5227
|
.B \-\-config <path>
|
|
5163
5228
|
Path to playwright.config.* to patch (default: auto\-detect)
|
|
5229
|
+
.TP
|
|
5230
|
+
.B \-y, \-\-yes
|
|
5231
|
+
Install and patch without asking for confirmation (required outside an interactive terminal)
|
|
5232
|
+
.TP
|
|
5233
|
+
.B \-\-dry\-run
|
|
5234
|
+
Show the current capture setup and list what would be installed or patched, without changing files
|
|
5164
5235
|
|
|
5165
5236
|
.TP Examples:
|
|
5166
5237
|
|
|
@@ -5171,9 +5242,18 @@ wraps your Playwright config's default export with withPostman().
|
|
|
5171
5242
|
If auto\-patching is not possible (unusual config patterns), the
|
|
5172
5243
|
command prints manual setup steps instead.
|
|
5173
5244
|
|
|
5245
|
+
Outside an interactive terminal (CI, piped input), the command makes
|
|
5246
|
+
no changes and exits with code 2 unless \-\-yes is passed.
|
|
5247
|
+
|
|
5248
|
+
\-\-dry\-run never changes files or prompts, and exits 0 (it takes
|
|
5249
|
+
precedence over \-\-yes).
|
|
5250
|
+
|
|
5174
5251
|
Examples:
|
|
5175
5252
|
postman app setup\-capture
|
|
5176
5253
|
postman app setup\-capture \-\-config apps/api/playwright.config.ts
|
|
5254
|
+
postman app setup\-capture \-\-yes
|
|
5255
|
+
postman app setup\-capture \-\-yes \-\-config apps/api/playwright.config.ts
|
|
5256
|
+
postman app setup\-capture \-\-dry\-run
|
|
5177
5257
|
|
|
5178
5258
|
After setup, run your tests normally:
|
|
5179
5259
|
postman app test
|
|
@@ -5340,6 +5420,9 @@ Do not record this run in the simulation's start history
|
|
|
5340
5420
|
.B \-\-output <format>
|
|
5341
5421
|
Live output format: auto (default, human\-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non\-interactive use) (default: auto)
|
|
5342
5422
|
.TP
|
|
5423
|
+
.B \-\-verbose
|
|
5424
|
+
Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.
|
|
5425
|
+
.TP
|
|
5343
5426
|
.B \-\-proxy
|
|
5344
5427
|
Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Requires a simulation.yaml (routing config), not a .sim.yaml.
|
|
5345
5428
|
.TP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.75.0",
|
|
4
4
|
"description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postman",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"scripts/"
|
|
63
63
|
],
|
|
64
64
|
"optionalDependencies": {
|
|
65
|
-
"@postman/pm-bin-macos-arm64": "1.
|
|
66
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
67
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
68
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
69
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
65
|
+
"@postman/pm-bin-macos-arm64": "1.75.0",
|
|
66
|
+
"@postman/pm-bin-macos-x64": "1.75.0",
|
|
67
|
+
"@postman/pm-bin-linux-x64": "1.75.0",
|
|
68
|
+
"@postman/pm-bin-linux-arm64": "1.75.0",
|
|
69
|
+
"@postman/pm-bin-windows-x64": "1.75.0"
|
|
70
70
|
}
|
|
71
71
|
}
|