How to Run Postman Collection in GitHub Actions Using Newman | For Beginners | Part 20

Опубликовано: 21 Апрель 2026
на канале: Script and Execute
281
16

In this video, we will learn how to run a Postman collection in GitHub Actions using Newman. In the previous video, we created a GitHub repository and pushed our project code. Now, we will take it one step further by integrating Postman API testing into a CI/CD pipeline.

First, we will understand the difference between manual API testing and automated API testing. Running APIs directly in Postman is manual execution. Newman is the command-line version of Postman that allows collections to run from the terminal. GitHub Actions is a CI/CD automation tool that runs our API tests automatically whenever we push code to the repository.

In this video, you will learn:

How to export a Postman collection

How to create the required .github/workflows folder structure

How to create a newman.yml workflow file

How GitHub Actions installs Node and Newman

How to run one or multiple Postman collections

How to trigger workflow execution using git push

We will also understand what each step inside the YAML file does and how GitHub Actions executes our API tests in a cloud environment.

By the end of this video, you will clearly understand how Postman, Newman, and GitHub Actions work together in a CI/CD pipeline.
#Postman
#GitHubActions
#APITesting
#Newman
#CICD
#AutomationTesting
#DevOps
#SoftwareTesting
#QA
#API