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.6.0

Neue Funktionen: Stoppen einer bestimmten Anfrage mit pm.execution.skipRequest() im Pre-Request-Skript und Zugriff auf den Namen der ausführenden Anfrage, Ordners oder Collection sowie den vollständigen Pfad.

What’s New

  • You can now stop the execution of a particular request using pm.execution.skipRequest() in the pre-request script - #8929
  • You can now access the name of the request, folder, or collection that’s executing the current script using pm.execution.location.current or the entire path using pm.execution.location - #6926

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.4.0: JWT- und NTLMv2-Authentifizierung

Postman CLI v1.4.0 unterstützt jetzt JWT- und NTLMv2-Authentifizierung, Promises/async-await in Skripten und Kommentare im Roh-Body; ein Fehler bei fehlenden Requests in benutzerdefinierter Reihenfolge wurde behoben.

What’s New

  • You can now use JWT authentication and NTLMv2 authentication in requests while running collections on Postman CLI.
  • You can now run collections with Promises and async/await statements in pre-requests and test scripts - #4131
  • You can now run collections with requests that support comments in the raw body - #12379

Bug Fixes

  • Fixed a bug where Postman CLI exits a run with an error in case one or more requests in the custom order of a collection run are not found. Postman CLI now gracefully handles the error, and such requests will fail to execute in the run.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.2.0: API-Linting mit Regeln

Postman CLI v1.2.0 unterstützt Linting-Ergebnisse inklusive Regeln aus Workspace-Gruppen und behebt einen Fehler beim API-Publish unter Windows.

What's New

  • postman api lint <api-id> now supports linting results taking into consideration rules enforced via workspace groups as per the team's API Governance configuration

Bug Fixes

  • Fixed a bug where API publish was not working on Windows OS

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.1.2: API-Version veröffentlichen

Postman CLI v1.1.2 unterstützt das Veröffentlichen von API-Inhalten über den Befehl postman api publish mit Versionsnamen.

What's New

  • Postman CLI now supports API version publish action
    • Running postman api publish <api-id> --name <version-name> will publish API contents

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI 1.1.1: Mehrere APIs im Repo

What's New

  • Postman CLI can now work with multiple APIs present in one repository
  • Run postman api lint without an <api-id> argument
    • if only one API is present in the repo
      • lints the API and sends the result back to Postman (if the API utilizes Postman’s git integration and integration-id is provided)
    • if multiple APIs are present in the repo
      • lints all the APIs, but does not send the result back to Postman
  • Results provided by the postman api lint command only support rules added to the “All workspaces” workspace group in Postman

Bug Fixes

  • Fixed an issue with git error leaking in local collection runs - fatal: not a git repository (or any of the parent directories): .git

The #1 platform for API testing, development, and collaboration

Trusted by 50M+ developers to test, build, and scale APIs faster.

Postman API spelled out in blocks. Illustration

Originalquelle(öffnet in neuem Tab)Problem melden