Skip to content

Framework setup to test APIs, either REST or SOAP, with Postman and execute the collections using Newman, a CLI tool

Notifications You must be signed in to change notification settings

KaushalShah1307/api-postman-newman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

api-postman-newman

Framework setup to test APIs, either REST or SOAP, with Postman and execute the collections using Newman, a CLI tool

Postman

  1. Postman is a good tool which we mostly use to quickly test APIs to see the result returned by them, but it's actually way more powerful than that.
  2. Making API is hard but Postman makes it simpler,easier.
  3. You can simply test any API and see the response immediately.
  4. You can create a collection of API endpoints and call them whenever you want to see the responses.

Newman

  1. We Write Tests in Postman, then export the collection and use Newman to run them directly from the command-line.

Install Newman

npm i newman -g

Command-Line Interface

newman run Collection_fileName.json -e Enviornment_fileName.json

Screenshot

Screenshot

About

Framework setup to test APIs, either REST or SOAP, with Postman and execute the collections using Newman, a CLI tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published