postman-cli 1.85.0 → 1.86.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 +63 -11
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-11-
|
|
1
|
+
.TH POSTMAN 1 "2026-11-04" "v1.86.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -3928,9 +3928,9 @@ Load segments:
|
|
|
3928
3928
|
ramp\-up — 2 segments
|
|
3929
3929
|
|
|
3930
3930
|
peak ┤ _________ at peak __________
|
|
3931
|
-
│ ramp\-up _____
|
|
3932
|
-
│ ______
|
|
3933
|
-
base ┤__ warm\-up ___
|
|
3931
|
+
│ ramp\-up _____/
|
|
3932
|
+
│ ______/
|
|
3933
|
+
base ┤__ warm\-up ___/
|
|
3934
3934
|
└┬─────────────┬─────────────┬───────────────────────────┤ \-\-duration
|
|
3935
3935
|
1 2 (3)
|
|
3936
3936
|
|
|
@@ -3942,10 +3942,10 @@ Load segments:
|
|
|
3942
3942
|
|
|
3943
3943
|
spike — 3 segments · no time at the peak; use \-\-load\-profile peak to hold
|
|
3944
3944
|
|
|
3945
|
-
peak ┤
|
|
3946
|
-
│ ramp\-up _
|
|
3947
|
-
│ _
|
|
3948
|
-
base ┤______ warm\-up _______
|
|
3945
|
+
peak ┤ /\e
|
|
3946
|
+
│ ramp\-up _/ \e_ ramp\-down
|
|
3947
|
+
│ _/ \e_
|
|
3948
|
+
base ┤______ warm\-up _______/ \e______ at base _______
|
|
3949
3949
|
└┬─────────────────────┬─────┬─────┬─────────────────────┤ \-\-duration
|
|
3950
3950
|
1 2 3 (4)
|
|
3951
3951
|
|
|
@@ -3958,9 +3958,9 @@ Load segments:
|
|
|
3958
3958
|
peak — 4 segments
|
|
3959
3959
|
|
|
3960
3960
|
peak ┤ __ hold ___
|
|
3961
|
-
│ ramp\-up ____
|
|
3962
|
-
│ ____
|
|
3963
|
-
base ┤_ warm\-up _
|
|
3961
|
+
│ ramp\-up ____/ \e____ ramp\-down
|
|
3962
|
+
│ ____/ \e____
|
|
3963
|
+
base ┤_ warm\-up _/ \e_ at base __
|
|
3964
3964
|
└┬──────────┬──────────┬──────────┬──────────┬───────────┤ \-\-duration
|
|
3965
3965
|
1 2 3 4 (5)
|
|
3966
3966
|
|
|
@@ -5190,6 +5190,9 @@ Generate a mock from a Postman collection, an OpenAPI file or a dataset, or a st
|
|
|
5190
5190
|
.B mock run
|
|
5191
5191
|
Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).
|
|
5192
5192
|
.TP
|
|
5193
|
+
.B mock stop
|
|
5194
|
+
Stop a mock started with `postman mock run` on this machine, and wait until it has exited and released its port.
|
|
5195
|
+
.TP
|
|
5193
5196
|
.B mock push
|
|
5194
5197
|
Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).
|
|
5195
5198
|
.TP
|
|
@@ -5352,6 +5355,29 @@ use \-\-no\-history to opt out.
|
|
|
5352
5355
|
Paths can be relative (e.g. ./postman/mocks/orders) or absolute (e.g. /Users/me/postman/mocks/orders).
|
|
5353
5356
|
|
|
5354
5357
|
|
|
5358
|
+
.SS "mock stop"
|
|
5359
|
+
Stop a mock started with `postman mock run` on this machine, and wait until it has exited and released its port.
|
|
5360
|
+
|
|
5361
|
+
.B Usage:
|
|
5362
|
+
<mockIdOrPath> [options]
|
|
5363
|
+
|
|
5364
|
+
.B Options:
|
|
5365
|
+
.TP
|
|
5366
|
+
.B \-\-timeout <seconds>
|
|
5367
|
+
Seconds to wait for a graceful shutdown before force\-killing the mock (default 15)
|
|
5368
|
+
.TP
|
|
5369
|
+
.B \-\-json
|
|
5370
|
+
Print the result as machine\-readable data
|
|
5371
|
+
|
|
5372
|
+
.TP Examples:
|
|
5373
|
+
|
|
5374
|
+
Eg. postman mock stop ./postman/mocks/orders # by the path passed to mock run
|
|
5375
|
+
postman mock stop 12345678\-90ab\-cdef\-1234\-567890abcdef # by the cloud id passed to mock run
|
|
5376
|
+
postman mock stop ./postman/mocks/orders \-\-timeout 5
|
|
5377
|
+
|
|
5378
|
+
The mock is sent SIGTERM so it shuts down the same way as Ctrl+C, then SIGKILL if it is still running after \-\-timeout. The command returns once the process has exited and its port is free. Stopping a mock that is not running succeeds.
|
|
5379
|
+
|
|
5380
|
+
|
|
5355
5381
|
.SS "mock push"
|
|
5356
5382
|
Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).
|
|
5357
5383
|
|
|
@@ -5754,6 +5780,9 @@ Show a simulation's details using its .sim.yaml path if it lives in your reposit
|
|
|
5754
5780
|
.B simulation run
|
|
5755
5781
|
Serve a simulation's mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local) or a Postman simulation id (fetched and run locally).
|
|
5756
5782
|
.TP
|
|
5783
|
+
.B simulation stop
|
|
5784
|
+
Stop a simulation started with `postman simulation run` on this machine, and wait until it has exited and released its port.
|
|
5785
|
+
.TP
|
|
5757
5786
|
.B simulation push
|
|
5758
5787
|
Upload a simulation from your repository to Postman cloud (creates it the first time, updates it after). Its member mocks are pushed too.
|
|
5759
5788
|
.TP
|
|
@@ -5967,6 +5996,29 @@ Because the mocks sit on throwaway ports, a manifest's own `port` is ignored. A
|
|
|
5967
5996
|
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.
|
|
5968
5997
|
|
|
5969
5998
|
|
|
5999
|
+
.SS "simulation stop"
|
|
6000
|
+
Stop a simulation started with `postman simulation run` on this machine, and wait until it has exited and released its port.
|
|
6001
|
+
|
|
6002
|
+
.B Usage:
|
|
6003
|
+
<simIdOrPath> [options]
|
|
6004
|
+
|
|
6005
|
+
.B Options:
|
|
6006
|
+
.TP
|
|
6007
|
+
.B \-\-timeout <seconds>
|
|
6008
|
+
Seconds to wait for a graceful shutdown before force\-killing the simulation (default 15)
|
|
6009
|
+
.TP
|
|
6010
|
+
.B \-\-json
|
|
6011
|
+
Print the result as machine\-readable data
|
|
6012
|
+
|
|
6013
|
+
.TP Examples:
|
|
6014
|
+
|
|
6015
|
+
Eg. postman simulation stop ./postman/simulations/checkout.sim.yaml # by the path passed to run
|
|
6016
|
+
postman simulation stop 12345678\-90ab\-cdef\-1234\-567890abcdef # by the id passed to run
|
|
6017
|
+
postman simulation stop ./simulation.yaml \-\-timeout 5
|
|
6018
|
+
|
|
6019
|
+
Pass the same id or path that was given to `simulation run`. The simulation is sent SIGTERM so it shuts down the same way as Ctrl+C, then SIGKILL if it is still running after \-\-timeout. The command returns once the process has exited and its port is free. Stopping a simulation that is not running succeeds.
|
|
6020
|
+
|
|
6021
|
+
|
|
5970
6022
|
.SS "simulation push"
|
|
5971
6023
|
Upload a simulation from your repository to Postman cloud (creates it the first time, updates it after). Its member mocks are pushed too.
|
|
5972
6024
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.86.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.86.0",
|
|
61
|
+
"@postman/pm-bin-macos-x64": "1.86.0",
|
|
62
|
+
"@postman/pm-bin-linux-x64": "1.86.0",
|
|
63
|
+
"@postman/pm-bin-linux-arm64": "1.86.0",
|
|
64
|
+
"@postman/pm-bin-windows-x64": "1.86.0"
|
|
65
65
|
}
|
|
66
66
|
}
|