/api-postman

API testing using Newman (Postman CLI)

Primary LanguageShell

API Testing using Newman (Postman CLI)

Installing Newman

Install Newman from npm globally on your system allowing you to run it from anywhere

$ npm install -g newman

Execute scripts

newman run collections/git.postman_collection.json --environment collections/newman-env.postman_environment.json --reporters cli,junit,html --reporter-junit-export testresults/unformatted/xmlOut.xml --reporter-html-export testresults/unformatted/htmlOut.html

More Info

For more information on newman cli, visit the site newman page