All Projects → eridem → vscode-postman

eridem / vscode-postman

Licence: MIT license
🏳️ Run Postman tests directly from your VSCode

Programming Languages

typescript
32286 projects
Handlebars
879 projects

Postman Runner for VSCode

Postman Runner for VSCode allows you to run Postman tests from your VSCode. It analyze the workspace folder and locate collection and environment files.

  • Export your Postman collections and environments in a folder (or subfolders) and open it with VSCode.
  • Open the Command Palette
  • Choose Postman: Run > Question Mode ( Ctrl+Q , Cmd+R )

Command palette image

IMPORTANT: From the version 2.0.0, this extension will use [email protected]. If you get any issue you can downgrade it to the previous 1.0.2. More info in newman changelog.

Current features

  • Compatible with Postman collections exported as v1 or v2.
  • Question mode: Postman: Run > Question Mode ( Ctrl+Q , Cmd+R ): It will ask you several quick questions to run your tests.

Toolbar choosing

  • Displaying results: it will open a new document with the results in a new tab.

Showing results

  • Displaying results: It will display the results in a new VSCode output window and the toolbar:

Console running

Settings

The extension can be personalized using the following settings:

  "postman.showRunInfoMessage": true,
  "postman.showResultsInNewDocument": true,
  "postman.showOutputAutomatically": true,
  "postman.showProgressInToolbar": true,
  "postman.testDefaultDelay": 0,
  "postman.testDefaultIterations": 1,
  "postman.workingDirectory": ".",

Where:

  • postman.showRunInfoMessage: Show info message before start running a test.
  • postman.showResultsInNewDocument: On finish, open automatically a document with the results.
  • postman.showOutputAutomatically: Open up automatically the Output window showing the progress.
  • postman.showProgressInToolbar: Show or hide the progress and results from the bottom toolbar.
  • postman.testDefaultDelay: Set default delay for tests when asking questions.
  • postman.testDefaultIterations: Set default iteractions for tests when asking questions.
  • postman.workingDirectory: Set the path of the working directory to use while reading files with relative paths.

Future features

Known Issues

https://github.com/eridem/vscode-postman/issues

Copyright

Copyright (c) 2016 Miguel Ángel Domínguez Coloma

Licensed under the MIT License.

*EXTRA Exporting collections and environments

Exporting collections image

Exporting environments image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].