Zum Inhalt springen

Postman CLI Updates & Release Notes

Einträge
128
Quellen
1
Zuletzt aktualisiert

Folge Postman CLI, um die Release Notes in deinen Feed zu holen.

Postman CLI von Postman

Postman CLI v1.40.0

Die neue Beta-Funktion postman dataset erstellt und fragt Datensätze ab, und Postman Flows Cloud-Runs sind nun auch für Nicht-Enterprise-Nutzer verfügbar.

What’s New

Create and query datasets with the Postman CLI

Available as a beta feature

The Postman CLI now supports the postman dataset command for creating datasets, managing data sources, running SQL queries, and running saved views. Datasets enable you to work with reusable data from files and databases in local development and automation workflows, including CI/CD pipelines.

You can also use the --iteration-data-dataset, --iteration-data-view, and --dataset options with the postman collection run command to run collections using dataset-backed iteration data or make datasets available to collection scripts.

To learn more, see Dataset commands.

Improvements

Postman Flows cloud runs for non-Enterprise users

Postman Flows cloud runs are now available to non-Enterprise users. Users can run a deployed flow via postman flows run <flow-id> without needing a private runner, with improved error feedback.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.39.1

Die SDK-Version wird bei postman sdk generate automatisch bestimmt, postman spec lint unterstützt die neue API-Governance, und zwei Fehler bei Flows und Umgebungsvariablen wurden behoben.

Improvements

Automatic SDK version selection

The --sdk-version option is now optional in the postman sdk generate command. If omitted, Postman automatically determines the SDK version based on changes to the API specification, collection, or SDK Generator, and defaults to 1.0.0 for the first generation.

Specification lint support for the new API Governance experience

The postman spec lint command now also supports the new API Governance experience.

Bug Fixes

  • Fixed an issue where postman flows run could return a Missing required inputs error when a flow contained unconnected input ports.

  • Fixed an issue where using pm.environment in scripts would return undefined values incorrectly.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.39.0

Webhooks lassen sich direkt aus der CLI verwalten, postman search findet Mocks und Umgebungen, Flow-Testergebnisse können als HTML-Bericht gespeichert werden, und --report-events meldet Testläufe an das Application Inventory.

What’s New

Manage webhooks directly from the Postman CLI

You and your agents can now create, manage, and work with Postman webhooks directly from the Postman CLI using the postman webhook commands.

The Postman CLI supports creating, listing, and deleting webhooks in a workspace, along with viewing webhook status and starting or pausing them as needed.

You can also configure forwarding of events received on your webhook to your local server to support development and debugging using the postman webhook [Webhook ID or URL] forward [your-local-port] command.

Search mocks and environments with the Postman CLI

The Postman CLI now supports postman search mocks and postman search environments, making it easier to find and reference mocks and environments in your CI/CD pipelines, automation workflows, scripts, and AI agents.

Improvements

Save Postman Flows test results as an HTML report

When running flows from the CLI, you can now save test results as a self-contained HTML report by passing --reporters html to postman flows run. The report includes a summary of passed, failed, and skipped tests, per-block results, and full details for any failed assertions.

Improvements to reporting test runs in the Application Inventory

The postman app test command now supports the --report-events option for reporting test results and analytics from local test runs to Postman's Application Inventory. …

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.38.1: CI-Kontexterkennung verbessert

Die CI-Umgebungserkennung für Anwendungstests wurde verbessert, um Ergebnisse korrekt Branch, Commit und Workflow zuzuordnen.

What’s New

Improved output for Postman Flows test results

When running flows from the CLI, test results are now displayed in a clean, readable format instead of raw JSON.

Analyze specific test run artifacts

The postman app test command now supports passing a Playwright JSON report file directly with the --network-log option. This makes it easier to analyze a specific test run without relying on automatic artifact discovery.

To learn more, see Application commands.

Improved CI context detection for application testing

Application testing now more accurately detects CI context across local environments and GitHub workflows, including pull request and push-triggered runs. This helps ensure test results are correctly associated with the originating branch, commit, and workflow context.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.38.0: Fehlerbehebung SDK-Generierung

Ein Fehler wurde behoben, bei dem die SDK-Generierung gegen v3-Collections ein leeres items-Array erzeugte.

Improvements

Live performance metrics for Postman CLI runs

Available on Solo, Team, and Enterprise plans

When you trigger a performance run using the postman performance run command, you can now stream live performance metrics in the Postman app as the test runs, either locally or from your CI/CD pipeline. This gives you real-time visibility into slow response times, failed assertions, and request errors as they occur. If the API becomes unstable under load, you can stop the test, adjust your configuration or API, and rerun without waiting for the full run to finish. This helps you catch and address issues early, preventing deployments that don't meet your performance requirements.

To learn more, see Configure and validate performance tests using the Postman CLI.

Bug Fixes

Fixed an issue where running postman sdk generate against a v3 Postman Collection could produce an empty items array.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.37.0: Vereinfachte Playwright-Einrichtung

Die Netzwerkerfassung für Playwright-Tests kann nun mit withPostman in der Konfigurationsdatei aktiviert werden.

What’s New

Simplified Playwright setup for Application Inventory

You can now enable network capture for Playwright tests with a single configuration change using withPostman in your playwright.config.ts file. This approach works across all pages, contexts, and fixtures without requiring changes to your test files. The Postman CLI automatically processes the resulting network capture output during test runs.

The existing attachNetworkCapture approach remains supported for teams that prefer test-level setup.

To learn more, see Integrate your test suite with the Application Inventory.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.36.0: Fehlerbehebungen

Zwei Fehler im Application Inventory wurden behoben, unter anderem beim Request-Matching mit Umgebungsvariablen.

What’s New

Integrate your SDK generation with your GitHub repo

Available on Team and Enterprise plans

Use the updated postman sdk connect command to connect Postman SDK generation with your GitHub repo and automate subsequent SDK updates. Use postman sdk connections list and postman sdk connections delete to list and remove your GitHub connections, respectively. Automation is available on Enterprise plans only.

Bug fixes

Fixed an issue in Application Inventory where request matching didn't respect environment variables.

Fixed an issue where UI tests without network traffic were not being recorded in Application Inventory.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.35.2: Unterstützung für Connector-Blöcke

Für Flows mit Connector-Blöcken wird beim Befehl postman flows run nun die Option --workspace benötigt.

Improvements

Application testing improvements

The postman app test command includes several improvements:

  • Configuration is now validated before a run begins, and analytics are reliably sent when a run completes.

  • Network request failures captured during a run are propagated through the pipeline instead of being silently dropped.

  • The error message shown when no network traffic is captured is clearer.

  • Long request names are safely truncated to prevent filesystem errors.

To learn more, see Application commands.

Support for connector blocks when running flows

The postman flows run command now requires the --workspace option when your flow includes a connector block. Use the --workspace [workspace-id] option to specify the workspace by its ID.

To learn more, see Flows commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.35.1: Umgebungsvariablen in Flows

Der Befehl postman flows run löst nun {{varName}}-Variablen in Szenario-Eingaben und Konfigurationseinträgen auf.

Improvements

Environment variable resolution for flows

The postman flows run command now resolves {{varName}} environment variables in scenario input values and configuration entries at runtime. Pass a Postman environment file using the --environment option and any variables referenced in your flow are substituted with their values. If a variable is referenced but missing from the environment file, the CLI returns an error identifying the unresolved variable by name.

To learn more, see Flows commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.35.0: Neue Optionen für Flows

Die Befehle --output json und --no-truncate steuern die Ausgabe von Flows-Läufen; --json entfällt.

What’s New

Application testing and Playwright Integration

Available on Solo, Team, and Enterprise plans

Turn your existing Playwright tests into API contract validation with the new postman app commands. Use the postman app init command to initialize your project and configure your test command, collections, and environments. Use the postman app test command, paired with the postman-playwright plugin, to observe API traffic during Playwright runs, match each call to requests in your collections, and run your pm.test assertions against live responses. Results, unmatched calls, and coverage gaps are pushed to the Application Inventory in a single report.

To learn more, see Application commands.

Improvements

Improved output options for flows runs

The postman flows run command has two new options for controlling output. Use --output json to save execution results, including outputs and logs, to a timestamped JSON file in the current directory. This makes it easier to capture structured output for CI/CD pipelines and scripts. Use --no-truncate to display response bodies and payloads in full in the terminal. By default, truncation remains enabled so the terminal experience stays readable.

The --json option is no longer supported. Use --output json instead. …

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.34.5: Fehlerbehebung bei Flows

Ein Fehler wurde behoben, bei dem Umgebungsvariablen Request-Variablen im HTTP-Request-Block überschrieben.

Bug Fixes

Fixed an issue in the postman flows run command where environment variables were overriding request variables defined in the HTTP Request block.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.34.4: Fehlerbehebungen beim Push

Mehrere Fehler wurden behoben, darunter falsche Erstellung neuer Sammlungen bei 404-Fehlern und ungültige Modusfehler beim Pushen.

Bug Fixes

Fixed an issue that caused postman workspace push --yes to create new collections or environments when an update request returned a transient 404, instead of failing safely.

Fixed an issue where environment IDs in .postman/resources.yaml were rewritten from the canonical <owner>-<uuid> format to a bare UUID, causing subsequent pushes to fail.

Fixed an issue where pushing collections could result in an "invalid mode" error.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.34.3: Fehlerbehebungen bei Flows

Zwei Fehler wurden behoben: Select-Block-Fehler bei strukturierten Eingaben und leere Antwortdaten bei Request-Trigger-Ausgaben.

What’s New

Edit and regenerate SDKs

You can now edit, add, or delete files in your SDKs and use the postman sdk generate command to regenerate the SDK.

To learn more, see Generate SDKs from collections and API specifications.

Enable change tracking for SDKs

The Postman CLI now supports the postman sdk track command to manage change tracking for SDKs created before the regenerate SDK option was available.

Support for HTTP Request blocks with tests in Flows

The Postman CLI now supports the v2 HTTP Request block when running flows locally with the postman flows command. This block adds tests as first class properties of the request.

Bug Fixes

Fixed an issue with the postman flows command where the Select block failed when passing structured input values using --input, --input-file, or --scenario. Input values are now correctly parsed as structured types, matching the behavior of the Postman canvas runner.

Fixed an issue with the postman flows command where request trigger outputs returned an empty map instead of the expected response data.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.34.1: Kotlin-SDK-Generierung und Pfad-Unterstützung

Die Postman CLI unterstützt nun die Generierung von Kotlin-SDKs und die Angabe von Ordnern als Pfade bei Collection-Runs.

What’s New

Generate SDKs in Kotlin

You can now specify kotlin as a supported language when using the -l, --language option with Postman SDK commands. This enables you to generate Kotlin SDKs, and use them across supported workflows like fetching builds and connecting to GitHub.

To learn more, see SDK CLI commands.

Improvements

Specify folders using paths in collection runs

The -i option in the postman collection command now supports specifying folders with paths.

To learn more, see Collection commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.34.0: Ruby-SDK und Agent-Skills-Konfiguration

Die Postman CLI kann nun Ruby-SDKs generieren und die Erzeugung von Agent-Skills über die Konfigurationsdatei steuern.

What’s New

Generate SDKs in Ruby

Introduced support for Ruby in the scope of SDK generation.

To learn more, see SDK CLI commands.

Configure Agent Skills with CLI SDKs

You can control whether Agent Skills are generated with the postman sdk generate command for a CLI SDK. Use the sdk.languageOptions.cli.skills object in your .postman/config.json file.

The skills object has an enabled Boolean field that determines whether Agent Skills are generated. This value defaults to true if not specified or left empty.

To learn more, see SDK CLI commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.33.6: CLI-Generierung und Flow-Szenarien

Die Postman CLI kann nun vollständige CLI-Anwendungen aus Collections oder OpenAPI-Spezifikationen generieren und benannte Szenarien für Flows verwenden.

What’s New

Generate CLIs from your Postman Collection or API specification

Available on Team and Enterprise plans

You can now generate a fully-functioning command-line interface (CLI) application based on your Postman collections or OpenAPI specifications. The Postman CLI has been enhanced with two main end-users in mind: Agents (LLMs) and humans.

To learn more, see Generate CLI from your collection or specification.

Specify input data for Postman Flows

You can now use the --scenario option with the postman flows trigger command to specify a named scenario from the flow definition to construct the input payload, headers, and query parameters.

To learn more, see Flows commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.33.4: SDKs für PHP, Go und C# sowie v3-Linting

Die Postman CLI unterstützt jetzt die SDK-Generierung in PHP, Go und C# und prüft Collections auf das v3-YAML-Format.

What’s New

Generate SDKs in PHP, Go, and C#

Introduced support for PHP, Go, and C# in the scope of SDK generation. Previously, the Postman CLI supported SDK generation in Python, Typescript, and Java. Now, you can use CLI to generate SDKs in six languages.

To learn more, see SDK CLI commands.

Validate collections in v3 format

The Postman CLI now supports the postman collection lint command to verify that a collection matches the v3 YAML format.

To learn more, see Collection commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.33.2: Fehlerbehebungen bei Collection-Runs

Fehler behoben, die zu beschädigten Binärdateien oder zu früh abgeschlossenen Collection-Runs führen konnten.

Bug Fixes

Fixed an issue that caused binary files to become corrupted during collection runs.

Fixed an issue that caused collection runs to complete before all output was fully written.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.33.1: Neue Optionen für Flows und Fehlerbehebungen

Neue Optionen für Umgebungsvariablen bei Flows-Runs und reine Antwortanzeige bei Triggers; außerdem Fehler bei Workspace-Push und API-Key-Login behoben.

Improvements

New options for postman flows run and postman flows trigger

Available on Enterprise plans

Two new options are now available for the Postman CLI flows commands:

Use the -e, --environment option with postman flows run to pass a Postman environment file at runtime, allowing the runner to hydrate environment variable values when executing your flows locally.

Use the -r, --result option with postman flows trigger to display only the response body from a triggered cloud flow run.

To learn more, see Flows commands.

Bug Fixes

Fixed an issue that caused postman workspace push to fail when using API key authentication. The command could fail because the workspace context was lost during the login step.

Fixed an issue where API key login was skipped if the provided key had a falsy value. The Postman CLI now correctly handles all provided API key values.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.33.0: Migration zu v3 und Cloud-Sync

Die Postman CLI kann Collections von v2.1 nach v3 migrieren, lokale Spezifikationen in die Cloud synchronisieren und behebt Fehler bei Mock-Servern und Farboptionen.

What’s New

Migrate collections from v2.1 to v3 format

The Postman CLI now supports the postman collection migrate command to migrate collections from v2.1 to v3 format.

Improvements

Sync connected local specifications and collections to the cloud

The postman workspace push command now supports syncing connected local specifications and collections to your workspace in the Postman cloud.

Bug Fixes

Fixed an issue that prevented local mock servers from starting when using postman mock run or postman collection run --mock.

Fixed an issue that caused the --color off option to not work with the postman collection run command.

Originalquelle(öffnet in neuem Tab)Problem melden