Summary
Keywords
Full Transcript
website - https://automationstepbystep.com/ Hi, I am Raghav and today we will learn - How to run Postman from Command line How to do data driven testing in Postman Commandline ----------------------- Newman is a command-line collection runner for Postman Step 1 : check if node.js is already installed node -v node --version npm -v Step 2 : Install node.js https://nodejs.org/en/download/ Check if node and npm are installed For Mac using brew https://www.dyclassroom.com/howto-mac/how-to-install-nodejs-and-npm-on-mac-using-homebrew Step 3 : Install Newman npm install -g newman Step 4 : Export collection as json file Step 5 : On cmd goto location of collection json file Step 6 : Run command newman run collectionfilename.json Data Driven testing How to refer data from CSV and JSON files Demo in the video 1. How to get data from CSV file 2. How to get data from JSON file 3. How to Run data-driven API Requests 4. How to Run data-driven Tests 5. How to run data-driven tests from the command line You can use data variables in all places and in the exact way you can use environment variables, except in pre-request and test scripts. ________ ONLINE COURSES TO LEARN ________ https://automationstepbystep.com/online-courses/ Udemy Discounts - https://automationstepbystep.com/udemy-discounts/ GitHub - https://github.com/Raghav-Pal/ Udemy - https://www.udemy.com/user/raghav-pal-3/ Training by Raghav at your venue - [email protected] Training schedule - https://automationstepbystep.com/trainings-2/ ------------ UI TESTING ------------ Selenium Beginners - https://bit.ly/2MGRS8K Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6 Selenium Python - https://bit.ly/2oyMp5x Selenium Tips - https://bit.ly/2owxc50 Selenium Builder - https://bit.ly/2MKNtlq Katalon Studio - https://bit.ly/2wARFdi Robot Framework with RIDE- https://bit.ly/2Px6Ue9 Robot Framework with Eclipse - http://bit.ly/2N8DZxb Protractor - http://bit.ly/2KtqVkU TestProject - http://bit.ly/2DRNJYE ------------ API TESTING ------------ Web Services (API) - https://bit.ly/2MGafL7 SoapUI - https://bit.ly/2MGahmd Postman - https://bit.ly/2wz8LrW General - https://bit.ly/2PYdwmV Katalon Studio API Testing - https://bit.ly/2BwuCTN ------------ MOBILE TESTING ------------ Appium - https://bit.ly/2ZHFSGX Mobile Playlist - https://bit.ly/2PxpeUv ------------ CI | CD | DEVOPS ------------ Jenkins Beginner - https://bit.ly/2MIn8EC Jenkins Tips & Trick - https://bit.ly/2LRt6xC Docker - https://bit.ly/2MInnzx Kubernetes - http://bit.ly/2MJIlMK -------------VIRTUALISATION------------- Virtualization on windows - http://bit.ly/2SItIL9 ------------ VERSION CONTROL SYSTEM ------------ Git & GitHub - https://bit.ly/2Q1pagY GitLab - http://bit.ly/2kQPGyQ ------------ PERFORMANCE TESTING ------------ JMeter Beginner - https://bit.ly/2oBbtIU JMeter Intermediate - https://bit.ly/2oziNVB JMeter Advanced - https://bit.ly/2Q22Y6a JMeter Tips & Tricks - https://bit.ly/2NOfWD2 Performance Testing - https://bit.ly/2wEXbLS ------------ PROGRAMMING ------------ Java Beginners - https://bit.ly/2PVUcXs Java Tips & Tricks - https://bit.ly/2CdcDnJ GROOVY - https://bit.ly/2FvWV5C JAVASCRIPT - http://bit.ly/2KJDZ8o PYTHON - http://bit.ly/2Z4iRye ------------ IDE ------------ Visual Studio Code - https://bit.ly/2V15yvt ------------ BUILD TOOLS ------------ Maven - https://bit.ly/2NJdDRS Gradle - http://bit.ly/30l3h1B ------------ OTHERS ------------ Redis- https://bit.ly/2N9jyCG Misc - https://bit.ly/2Q2q5xQ Tools & Tips - https://bit.ly/2oBfwoR QnA Friday- https://bit.ly/2NgwGpw Sunday Special - https://bit.ly/2wB23BO Ask Raghav - https://bit.ly/2CoJGWf Interviews - https://bit.ly/2NIPPxk All Playlists - https://bit.ly/2LSiezA Never stop Learning, Raghav ----------- Connect with Raghav ------------ Website - https://automationstepbystep.com/ LifeCharger - http://lifecharger.org/ Udemy Courses - https://www.udemy.com/user/raghav-pal-3/ Facebook - https://www.facebook.com/automationstepbystep Twitter - https://twitter.com/automationsbs Youtube - http://youtube.com/automationstepbystep Like, Subscribe & Share You can support my mission for education by sharing this knowledge and helping as many people as you can If my work has helped you, consider helping https://animalaidunlimited.org/ or any animal welfare group near you.
