All Projects → carlowahlstedt → NewmanPostman_VSTS_Task

carlowahlstedt / NewmanPostman_VSTS_Task

Licence: other
A task for Azure DevOps Pipelines to run newman tests.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to NewmanPostman VSTS Task

my-demo
Demo Application for Dubbo, Mycat, Sharding-Proxy, Seata, SkyWalking, PinPoint, ZipKin, Docker, Kubernetes, Istio, Postman/Newman, FitNesse
Stars: ✭ 37 (+19.35%)
Mutual labels:  postman, newman
vsts-extension-ts-seed-simple
Very simple seed project for developing a VSTS extension
Stars: ✭ 61 (+96.77%)
Mutual labels:  vsts, vsts-extension
az-devops-rice-extension
Azure DevOps extension that auto calculates RICE and stores it in a field.
Stars: ✭ 15 (-51.61%)
Mutual labels:  vsts, vsts-extension
vsts-extension-multivalue-control
A work item form control which allows selection of multiple values.
Stars: ✭ 40 (+29.03%)
Mutual labels:  vsts, vsts-extension
wiql-editor
Search work items with wiql queries.
Stars: ✭ 30 (-3.23%)
Mutual labels:  vsts, vsts-extension
postman-exporter
Postman exporter for Prometheus
Stars: ✭ 13 (-58.06%)
Mutual labels:  postman, newman
github-tools-vsts
📦🚀 Create and modify GitHub Releases in Azure DevOps Build and Release Management
Stars: ✭ 24 (-22.58%)
Mutual labels:  vsts, vsts-extension
Newman
Newman is a command-line collection runner for Postman
Stars: ✭ 5,607 (+17987.1%)
Mutual labels:  postman, newman
gl-vsts-tasks-file-patch
Visual Studio Team Services Build and Release Management extensions that help you update files using JSON patch and similar syntax
Stars: ✭ 21 (-32.26%)
Mutual labels:  vsts, vsts-extension
Newman-to-Slack
Runs a Newman test script and outputs the summary to a Slack webhook
Stars: ✭ 26 (-16.13%)
Mutual labels:  postman, newman
DeploySsrs
Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
Stars: ✭ 17 (-45.16%)
Mutual labels:  vsts, vsts-task
rust-azure-devops
[No longer maintain] 🦀 Rust extension for Azure DevOps
Stars: ✭ 26 (-16.13%)
Mutual labels:  vsts, vsts-extension
vsts-extension-color-control
This is an example of a custom control extension for use in on-premise instances of Visual Studio Team Services on the work item form.
Stars: ✭ 16 (-48.39%)
Mutual labels:  vsts, vsts-extension
gl-vsts-tasks-yarn
Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
Stars: ✭ 50 (+61.29%)
Mutual labels:  vsts, vsts-extension
AzureDevOps-WSJF-Extension
Sample work item form extension that auto calculates WSJF (weighted shortest job first) per work item and stores it in a work item field
Stars: ✭ 21 (-32.26%)
Mutual labels:  vsts, vsts-extension
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+383.87%)
Mutual labels:  vsts, vsts-extension
azure-flutter-tasks
Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
Stars: ✭ 66 (+112.9%)
Mutual labels:  vsts, vsts-extension
awesome-newman-html-template
😎 A newman html report very detailed
Stars: ✭ 63 (+103.23%)
Mutual labels:  postman, newman
monitor-man
HTTP API monitor based on postman and newman.
Stars: ✭ 44 (+41.94%)
Mutual labels:  postman, newman
prime-re.github.io
Open resource exchange platform for non-human primate neuroimaging
Stars: ✭ 13 (-58.06%)
Mutual labels:  pipelines

Newman the cli Companion for Postman

** Not an official task **

Join the chat at https://gitter.im/NewmanPostman_VSTS_Task/Lobby Badge for version for Visual Studio Code extension naereen.makefiles-support-for-vscode

Using Newman, one can effortlessly run and test a Postman Collections directly from the command-line. Now in a task!

How to

You can include this task in a build or release pipeline. Here's a quick 'How To'

Requisites

  1. Add a npm task to install Newman before execution.

  2. Set a display name (eg : 'Install Newman').

  3. Set custom as command

  4. As 'Command and arguments' set install newman -g. Note that if the task version doesn't yet support the latest Newman version, an older version can be used, e.g. install [email protected] -g.

Execution

Configure this task as per your requirements. (see here and here for options)

Report

Test report can be integrated in Team Services.

To do so :

  • Select at least junit as a reporter option (others can be added).
  • Optionaly specify path to export junit report.
  • Add a 'Publish Test Result' task, to process generated Junit report. Specify format (JUnit) and path and to xml file.

Execution is now reported with test statistics.

alt text

Report - HTML Extra

  1. Add a npm task to install Newman-reporter-htmlextra before execution.

  2. Set a display name (eg : 'Install Newman-reporter-htmlextra').

  3. Set custom as command

  4. As 'Command and arguments' set install -g newman-reporter-htmlextra

  5. Select "htmlextra" from the reports list

Note About Failed Tests

If your tests are failing, then you will not see the results in the test tab. You can read more about it here, but to resolve that you can:

  1. On the task for the Postman tests mark the checkbox for Continue on Error.
  2. Add a Publish Test Results task and have it search for the following test file *\newman-.xml.

Realize that this will then NOT fail your pipeline because your tests failed. There is currently no documented way around this.

Limitations

Following command line options are not supported:

  • -x,--suppress-exit-code
  • -color
  • --ssl-client-passphrase
  • None of the CLI option

Breaking change(s)

Version 4.x

  • The sslStrict parameter is renamed as sslInsecure in order to better match with the actual behavior of the parameter: setting it to true will use newman --insecure option to disable the strict SSL verification.

Known issue(s)

  • None

Learn More

The source to this extension is available. Feel free to take, fork, and extend.

View Notices for third party software included in this extension.

If you use a Postman Enterprise account workspace check out this task to use in a pipeline. Here's the post explaining it from the tasks author.

Minimum supported environments

  • Azure DevOps Services
  • Team Foundation Server

Contributors

We thank the following contributor(s) for this extension:

Feedback

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