Skip to content

A demo Code on How to run Postman Test Collection with Assertion using GitHub Actions and Newman Reporting

License

Notifications You must be signed in to change notification settings

Faiz-Ahmed08/postman_GitHubActions_Faizzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

postman_GitHubActions_Faizzy

image

This is sample Postman Code with execution via GitHub Actions !!!!

Step 1 : Go through the API Definition at https://detectlanguage.com/

Step 2 : Downloaded and Installed POSTMAN Tool on my machine.

Step 3 : Login POSTMAN through Google Account.

Step 4 : Created Postman Collection for all the three API URL.

Step 5 : Update the Detect language API Key in POSTMAN as Header

33333

Note - For Endpoints : GET https://ws.detectlanguage.com/0.2/user/status POST https://ws.detectlanguage.com/0.2/detect

Step 6 : Setup and configured API Assertions in the Postman Collection.

Step 7 : Pushed the code on the GitHub Repository.

Step 8 : Configure the GitHub Action Workflow

Step 9 : Push any Changes , Automated build is triggered via Github Actions

Step 10 : Automated Artifact will be generated.

Step 10: Click and Download the Test Artifact.

image

Author : Faiz Ahmed

Email : [email protected]

Linkedin : https://www.linkedin.com/in/faiz-ahmed-a2660189/

Releases

No releases published

Packages

No packages published