Postman Newman Tutorial - How to automate the test runs (PART 2)

  Рет қаралды 11,731

Valentin Despa

Valentin Despa

Күн бұрын

Пікірлер: 49
@vdespa
@vdespa 4 жыл бұрын
👉 Want to learn more about Postman? Check my complete Postman online course. vdespa.com/courses/?q=KZbin
@jamaljabari4577
@jamaljabari4577 3 жыл бұрын
You prolly dont give a shit but does any of you know of a way to log back into an Instagram account? I somehow lost my account password. I love any assistance you can give me!
@ChandraSekhar0085
@ChandraSekhar0085 4 жыл бұрын
Thanks Valentin, successfully ran the collections using netman via postman API :-)
@vdespa
@vdespa 4 жыл бұрын
Nice work!
@asiyazahoor6386
@asiyazahoor6386 3 жыл бұрын
Assignment: for creating an HTML report, we have to install HTML reporter first by executing this command npm install -g newman-reporter-html After this simply use the following command newman run "Collection name" -r html After successful execution, nothing will be shown on CMD, just go to directory path which is used for executing above command, there will be one folder with name "newman", it will contain HTML report
@vdespa
@vdespa 3 жыл бұрын
Great job. Thanks for sharing.
@sjakie0420
@sjakie0420 4 жыл бұрын
super helpful, very clear explanations, postman should pay you for this :). salutari
@vdespa
@vdespa 4 жыл бұрын
Mulțumesc, numai bine Ionuț!
@SHOVALSO
@SHOVALSO 4 жыл бұрын
Hi Valentine, Thanks for the video. Can you show an example of using the environment variables from API and not from json file, please?
@vdespa
@vdespa 4 жыл бұрын
Currently this is demonstrated in the compete Postman course. I will look into creating a tutorial on KZbin as well. Thanks for the suggestion.
@arnabgoswami8971
@arnabgoswami8971 3 жыл бұрын
Thaanks you so much really hellped me
@vdespa
@vdespa 3 жыл бұрын
You are welcome
@noufalghamdi1093
@noufalghamdi1093 2 жыл бұрын
so I want to make this clear, if I generate a link or export file, each time I make change I need to update the link or file, BUT if I used build in API no need for any manual update. is that correct ?
@prasadsupare
@prasadsupare 6 жыл бұрын
can you please integrate all your postman tutorials in one playlist
@cristianosaraujo
@cristianosaraujo 3 жыл бұрын
Good afternoon , please , do you know if is possible install the newman without the utilization of NPM? my problem that is my server not has conection of the internet would know how to make? do you know if have some manuals? thanks
@vdespa
@vdespa 3 жыл бұрын
You can install Newman as a project dependency and move that folder with node_modules to the server.
@AndyChittum
@AndyChittum 4 жыл бұрын
What would be really helpful in newman would be to run one test which resulted in a value in a variable, then be able to use that value later in other tests. It's not too hard with a collection or environment variable in Postman, but there doesn't seem to be any way to communicate that variable value to other later tests run in newman, especially if for some reason you're forbidden from using the Postman api. Is there another way to to this?
@vdespa
@vdespa 4 жыл бұрын
This is possible. Set the respective value as a global variable (for example) and export the globals to a file. After this, you can import the globals in your next collection run.
@vijaykumar-ut1ze
@vijaykumar-ut1ze 4 жыл бұрын
@@vdespa - How to run the collection with the environment variable in jenkins. i dont have rights to generate the api keys. please guide me
@ravikumar678
@ravikumar678 5 жыл бұрын
Thanks..Its really helpful
@dilpudara777
@dilpudara777 5 жыл бұрын
I have export Env variable list as json file and give it as parameter in CLI. but thing is even if i updated env variables in that list via posment and get the updated link and export it again.but still json file of env is not updated with new values.Do you know why is this ?
@vijaykumar-ut1ze
@vijaykumar-ut1ze 4 жыл бұрын
I have used environment variables in my collection and if i want to use the collection in jenkins is there any way other than generating the api key for giving the environment variable
@vdespa
@vdespa 4 жыл бұрын
Make sure you export the environment and that the initial value contains the API key.
@AndeBharathReddy
@AndeBharathReddy 4 жыл бұрын
Hi Valentin If I run the collection it is passed in postman, But it is failed due to 403 in Newman. I have tried --insecure also. Please suggest to me.
@vdespa
@vdespa 4 жыл бұрын
The flag mentioned has nothing to do with the 403 status code. It is hard to know what the problem is in this case. Join the Facebook community (see link in the description) and ask your question there. Consider adding more details, including screenshots. Thanks for understanding.
@rajnishshah5761
@rajnishshah5761 4 жыл бұрын
I am not able run my collections in Newman.Its showing error that request URL is empty
@vdespa
@vdespa 4 жыл бұрын
Most likely there is an issue with one of the variables you are using. Make sure to include the environment, if any, in your newman command.
@rabinpradhan5603
@rabinpradhan5603 3 жыл бұрын
How to run the multiple collection with one script command rather than using each postman JSON file with Newman run?
@vdespa
@vdespa 3 жыл бұрын
It is hard to answer this with the given information. What is the problem you are trying to solve? Join the Discord community (see link in the description) and ask your question there.
@olegkramar669
@olegkramar669 4 жыл бұрын
what to do if in Postman tests are passed, but newman shows errors?
@vdespa
@vdespa 4 жыл бұрын
Depends on the error.
@sijojohny5004
@sijojohny5004 4 жыл бұрын
how to pass dynamic variable in json body in newman
@vdespa
@vdespa 4 жыл бұрын
The same way you do it in Postman. Just use {{varname}} in your body.
@sijojohny5004
@sijojohny5004 4 жыл бұрын
but environment variables are not passing in the json body
@vdespa
@vdespa 4 жыл бұрын
@@sijojohny5004 Make sure you select the environment.
@abhigupta9727
@abhigupta9727 4 жыл бұрын
the offer to your udemy seems to have been expired?
@vdespa
@vdespa 4 жыл бұрын
That offer expired. Please see vdespa.com/courses/?q=KZbin for other discounts. Thanks.
@abhigupta9727
@abhigupta9727 4 жыл бұрын
@@vdespa - I check this today but I do not see any discount .
@gayathripriya4239
@gayathripriya4239 4 жыл бұрын
Hi, Thanks for the video. Any command line calls using newman to postman collection gives me ""error: getaddrinfo ENOTFOUND api.getpostman.com". This happens when i use the postman collection link in "newman run " and also when i use "newman run . But works fine when the collection downloaded in a folder and executed from there. Any pointers will greatly help. thanks.
@vdespa
@vdespa 4 жыл бұрын
If you are in a corporate network, check with the it department why this request is blocked while using nodejs.
@anurupghatak37
@anurupghatak37 4 жыл бұрын
while running the collection from command line throws me this error: getaddrinfo ENOTFOUND www.getpostman.com .... Can you please help me with this
@vdespa
@vdespa 4 жыл бұрын
Which is the complete address you are trying to call?
@anurupghatak37
@anurupghatak37 4 жыл бұрын
but it runs when I run it while saving the collection in my local folder
@vdespa
@vdespa 4 жыл бұрын
@@anurupghatak37 I don't see how this collection can throw this error as you are not using getpostman.com
@Bala5386
@Bala5386 6 жыл бұрын
Hi Valentin, Link for the screenshot of report: imgur.com/a/b9TDW2M
Data-driven testing with different data sets for each request
16:48
Valentin Despa
Рет қаралды 16 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 35 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 96 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 6 МЛН
How write API Tests with Postman in 3 easy steps
18:49
Valentin Despa
Рет қаралды 163 М.
Testing file uploads with Postman (multipart/form-data)
28:08
Valentin Despa
Рет қаралды 157 М.
Advanced workflows (request chaining) with Postman
11:29
Valentin Despa
Рет қаралды 15 М.
Postman -  Running REST API tests in Jenkins with Newman
29:22
Valentin Despa
Рет қаралды 51 М.
How to run Postman API Tests with Newman in Gitlab CI
13:23
Valentin Despa
Рет қаралды 38 М.
Data-driven testing using Postman
13:37
Valentin Despa
Рет қаралды 60 М.
How to reuse Postman scripts and tests among different test cases
10:31
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 610 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 35 МЛН