Skip to content

devsoftwareengg/API-Automation-with-NodeJs-using-mocha-and-chai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

API-Automation-with-NodeJs-using-mocha-and-chai

API Automation with NodeJs using mocha and chai

#install NodeJs in your system

wget -qO- https://deb.nodesource.com/setup_8.x | sudo bash -

sudo apt-get install -y nodejs verify your installation

node --version

#Install Newman in your system if not installed

npm install -g newman

#Install htmlextra plugion to get the html report

npm install -g newman-reporter-htmlextra

#Command to Run the Tests:

newman run ApiTesting.postman_collection.json -r htmlextra

#View the results in htmlReport:

cd "newman" directory and view the html report

About

API Automation with NodeJs using mocha and chai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages