Postman Beginners Crash Course - Part 4 | Command Line & Data Driven Testing

preview_player
Показать описание
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

node -v
node --version
npm -v

Check if node and npm are installed

For Mac using brew

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

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 ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

-------------VIRTUALISATION-------------
------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ BUILD TOOLS ------------

------------ OTHERS ------------

Never stop Learning,
Raghav

----------- Connect with Raghav ------------

Like, Subscribe & Share
You can support my mission for education by sharing this knowledge and helping as many people as you can

Рекомендации по теме
Комментарии
Автор

If you want to get into the world of APIs and Postman, I highly highly highly recommend watching Raghav's videos! I just watched all 4 and I feel like I went from beginner level experience to advanced level :)

kevinhoxie
Автор

I have just completed the whole series of this course. Thank you so much for explaining so well. Good content and a good start for beginners. Thank you so much.

biyasbanerjee
Автор

Wow!!! Raghav, Thank you So much for this Postman Crash Course. It was very fast, yet very easy to understand. I am glad I found your course. I will need it soon in my project. Thumbs up Brother!!! 👍

utpalsarker
Автор

Cristal clear!
thank you so much again, teacher Raghav.

juanbaquero
Автор

Another great content. straight to the point and very informative. You are a great tutor Rraghav

mohammadhabib
Автор

Awesome Raghav Sir. You are doing very very good job to share your knowledge. Thank you very much and God bless you.

alefuddin
Автор

Great sessions!!! I just love your courses...
Thank you....

TheHemangihere
Автор

Excellent Raghav, as usual. super. sastanga pranam for you.

svksuman
Автор

Hi Raghav, your videos are very good. Can you please add some videos for sending response or response parameters as a input/value to any other request.It may be rest to rest, soap to rest, soap to soap and rest to soap using Postman. It will be very helpful.Thanks

rakeshbiswas
Автор

Another masterclass from the great man. thank you sir

mzamomahaeng
Автор

All i can say thank u for sharing ur knowledge.
Bless u 🤗

shivanibajaj
Автор

amazing perfect series for postman thanks
@Raghav

aakashpatel
Автор

Hi bro, Everything is excellent.I have seen all the vedios of postman.Its simply awesome.Crisp and to the point....But I heard, what is postman doccumentation ? How to prepare it and how can we share it to others.Is there any resource to learn ? Pls reply.Tq

mk-ovjs
Автор

Hi Raghav, I have been following your tutorials about Postman Beginners Training. I have learned a lot for now I can do a GET request on Postman. My question is how do I have the data on excel say I have the customers from the system but no idea how to make use of the data. You help is highly appreciate and continue doing good job of transferring knowledge

the-golden-time
Автор

Thanks a lot Raghav for this great video.It will be helpful if you pls share some content on Usage of HTML reports in postman, Integration with Jenkin and Chaining requests

jayantamandal
Автор

Thank you. Please add a video on Postman Jenkins integration

irateinwit
Автор

Hello Raghav- Can you please give us an example for cookies testing and validations doing with the postman in your upcoming video?

mayankjain
Автор

Dear Sir
Please clarify my doute sir i am begginer to API so this playlist contains all api related topics

shivarajkenganur
Автор

Hi,
I have been to your video's whenever i stuck doing automation.
Looking for some videos if you can prepare for postman integration with selenium.
How to integrate already existing scripts created in postman for api testing within selenium

reshu
Автор

Thanks for Raghav for the video. The contents for Command-line and Data-Driven Testing topics are amazing. Are we expecting any new video for the same? I have a query if we want to run the data-driven test from an external system(Remote system) so what will be the command ( newman run HTTP link -d data file location is this correct?)

mayankjain