Postman Newman Tutorial - How to automate the test runs

preview_player
Показать описание
👉 Want to learn more about Postman? Get my Postman complete course at a special price and help support this YouTube channel.

___

In this Newman tutorial I will show you how to automate Postman test runs by using the CLI companion of Postman called Newman.

// L I N K S

Installation:

Windows

MacOS

Linux

- with Ubuntu
sudo apt-get install -y nodejs
- for other distros, please just search for "install node and npm on ..."

___

// P L A Y L I S T S

___

// F R E E R E S O U R C E S

▸▸▸ Download the FREE Postman Quick Reference Guide

___

// M U S I C C R E D I T S

Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0

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

👉 Want to learn more about Postman? Get my Postman complete course at a special price and help support this YouTube channel.

vdespa
Автор

2:00 Jump to where the actual video starts, the first 2 minutes are just noise

mikzael
Автор

9:01 jump here to actually see newman example, all the video prior to this only talks about what newman is and it guides you step by step of installing it, so if you want to jump to the specific part where newman is actually used then start here.

mikzael
Автор

Thanks Valentin. Brilliant api & PM advocate!

michaela
Автор

8:22 just to be clear, the npm install -g newman will isntall newman globally, but if you are running an existing proyect and you want to install it as a devDependency you should use npm install -D newman or npm install --save-dev newman on the root directory of your project, this will also modify your package.json

mikzael
Автор

Love ❤️ your tutorials, thanks for sharing knowledge 🥰

Ksiujin
Автор

Postman collection link contains old version of collection. I got error when im trying to convert it :(

wanid
Автор

Hello @Valentin, in my automation test suite. the whole test depends on the environment variables which is created. But how I can add the environment which I have created? Could you please help me?

jpixellab
Автор

how to import the response for each APIs into csv or json format in local system ??

alokkumar
Автор

I am not able to run newman run command from Jenkins though node js and npm is installed
Can you please help?

Same command is working from command prompt but not from Jenkins

parveenchauhan
Автор

hey @
Valentin Despa, What if I am passing a csv file to collection runner there I have various testcases, and even the url which is going to hit is obtained from the same file, how to do this in newman, in the above video you directly executing the collection, as you given the api request parameters in the body of the api, but in my case i am passing the contents of the body via file upload Thanks

harishshet
Автор

Hello
i am facing a problem when i run the test in POSTMAN it is status code 200 but when i run in new man 422 error what to do?

gopakistantour
Автор

Hello! Can you make video about "How to run multiple times in parallel a request with different values from csv file via Newman"! Thank you!

martinapetrova
Автор

Hello Valentin, How does token generation work when we run a collection from newman? also, can we use a environment variable to replace the URL in the tests inside a collection? tdoe when I tried running my collection, it errored out! - it displayed the test name and the API call information in which it did not replace the environment variable with the actual URL. What am I doing wrong? could you please help?
test using null
POST {{env_url}}endpointName [errored]

minakshijk
Автор

Hello Valentin, I am tring to schedule a webjob through an API call with postman. But I need to pass that schedule time with a little delay from the current date and time . Assume it is 7.30 PM right now I am sending the API call to schedule. But I need to schedule the webjob at 7.35. In this case how can I do that? Taking the current date and time won't help right . Could you please help me on this?

janithdesilva
Автор

Hey Is it possible to run multiple collections at one shot?

moushmichatterjee
Автор

Please help me in running postman collection from maven project, I tried but did not work please help

seen-ezfd
Автор

Anyone know which command line / shell replacement tool is used in this video?

futopia
Автор

Can we execute tests in newman command line for multiple iteration?

bilalrahaoui
Автор

Hey Valentin, Did you have a chance to read my last comment? Is the offer still on?

dcoolsam