Great video. Can you kindly give more set up instructions for command line for node.js and newman and then running the downloaded JSON test in command line. That part went too fast. Thanks
Hi ItsTechMode, I finally got this figured out. Newman got installed in users folder and then i also copied the Collection.JSON file into the users folder and then ran this command of newman run NewCollection.postman_collection.json and before that i used open . to see the folder structure in users and to paste the Collection.json file from My Documents to Users folder. Now it ran perfectly. Thank you for taking time to make this video tutorial.
Hi Pramode! Thank you. Your videos of great help. I'm trying to use the snippets from Postman but the scripts which I have is quite different from yours. For example, //Mandatory fields should be returned tests["User Name is present"] = responseBody.has("userName") pm.test("User Name is present", function () { pm.expect(pm.response.text()).to.include("userName"); }); In the above, both tests are passing but I prefer the first one as it much easier to read. Can you plz tell me how I can change it
+Tuely QA I am not sure if this feature is supported, I had this same issue I exported the postman request in Javascript and rewritten my code to handle it callback and assert it's response etc
Create one script in python, html report created by newman upload to your server and send it to your client etc in mail or use jenkins to do the same for you.
Need more information on postman - I have created 4 request in a collection, if first request gives me result as id = #num ; how can i pass this id to other upcoming requests(passing this output as an input to other request?
Sir need your help on the following: I tried to install npm from CMD prompt using "npm install -g newman" but got the following error message. C:\Users\ADMIN>npm install -g newman npm WARN deprecated node-uuid@1.4.8: Use uuid module instead C:\Users\ADMIN\AppData\Roaming pm ewman -> C:\Users\ADMIN\AppData\Roaming pm ode_modules ewman\bin ewman.js + newman@3.8.0 updated 1 package in 24.291s Configuration of my machine is: AMD 3.60GHZ Processor, 8GB RAM,64-bit WIndows 10 OS
It is comfortable, listening this video in which you teaching the concepts, at the same time could you please raise your voice little bit louder? An once again thanks for your effort.
Hi, I have several API's in my project that are that are secured using Authorization , So before using post methos i need to save my token in a variable . Can we go this in postman Thanks..
Hi, I have a query. For eg, My API value is getting change. ("current_fuel_consumption": 106,) This 106 Value will get change whenever I am hitting the API. How to do I automate for this Scenario? Please advice
I've a doubt. When i select the Response body: JSON value check under Test tab in GET request I find a code like this: pm.test("Your test name", function () { var jsonData = pm.response.json(); pm.expect(jsonData.value).to.eql(100); }); how to deal with it?
Hi @Sumit : I also get the same code and just added like this pm.test("Your test name", function () { var jsonData = pm.response.json(); pm.expect(jsonData[0].title).to.eql("sunt aut facere repellat provident occaecati excepturi optio reprehenderit"); }); its working fine. cheers :)
I have added like below but getting error (TypeError: Cannot read property 'number' of undefined) pm.test("Your test name", function () { var jsonData = pm.response.json(); pm.expect(jsonData[0].lineStatus).to.eql("ACTIVE"); Please help
I am using windows, I installed NodeJS followed by Newman. I have API collections too (as you shown in your video) I saved the API collection in a saperate folder. now I am trying to API collections using newman using normal command prompt window (not sure from which window I have to execute) but it is not successful and says unable to read the file.
+srinivas kadiyala go to nodejs.org/en/download/ and download install the Windows or Mac version that you need. Once Node.js is installed, we need to install Newman by running in the Command Line: npm install -g newman
One very important question : We two people are doing testing using Postman? API is taken care by me and another by him. finally we have merge both scripts toghter. Please suggest how would we do that?
What you guys can do is, Import the scripts to Code (In any Programming language and )create your own asserts based on that. www.getpostman.com/docs/postman/sending_api_requests/generate_code_snippets
I do not understand this speaker and the resolution is so poor I am not able to see the screen. Maybe this is enough in a 3rd world country but not in a world where we have universities and quality tools!
Do you know where Postman was developed ? It was created by Abhinav Asthana, a programmer and designer based in Bangalore, India. CEOs of Google and Microsoft are Indians ! If you still think India is a 3rd world country, it only demonstrates your ignorance, haughtiness and racist attitude !
Thanks for the feedback, will take care next time, I tried my best to share my knowledge with limited resources. Please understand my situation here :)
Why do you want to reply to such racist, misinformed a**holes who think India is a third world country with no universities ! I didn't have any problem understanding you or seeing the screen despite slightly poor vision in my right eye ! The chief aim of such people is to show India in bad light. They go around hunting in forums doing that. Hope you'll understand it some day.
you went too fast; i'm a newbie, in postman, and the details you give are good, but, your going so fast i'm losing the important message. Lost in Postman
Hi Pramode
Awesome video...It helps me a lot..thanks..!!
Glad you liked it, Please share with yours friends and check out other videos also, let me know if any other topic you want me to cover.
Thanks for this video,
Question -
How to get the value of Customer as Ram
[
{
"Source" : "Ecomm",
"EmpProperties": [
{
"key": "Customer",
"value": "Ram"
},
{
"key": "CREATED_TIMESTAMP",
"value": "2016-08-11T15:31:59"
}
]
},
{
"Source" : "Store",
"EmpProperties": [
{
"key": "Customer",
"value": "Ganesh"
},
{
"key": "CREATED_TIMESTAMP",
"value": "2016-08-11T15:31:59"
}
]
}
]
awesome. Much better than other basic introduction video
Thanks, Please share and subscribe :)
Thanks for explaining it in a simple way. I grab everything quickly. Keep uploading
yo what's with the background music? I kept thinking I was going crazy. it mad distracting
^S S - yes, exactly, I agree
and that`s how I got from looking for an automation issue to listening to your playlists
Great Video. took a half day to get start running and create test suit. Great Work!!!
Glad you like it , Expect some more awesome videos
Great video. Can you kindly give more set up instructions for command line for node.js and newman and then running the downloaded JSON test in command line. That part went too fast. Thanks
Hi ItsTechMode, I finally got this figured out. Newman got installed in users folder and then i also copied the Collection.JSON file into the users folder and then ran this command of newman run NewCollection.postman_collection.json and before that i used open . to see the folder structure in users and to paste the Collection.json file from My Documents to Users folder. Now it ran perfectly. Thank you for taking time to make this video tutorial.
Very well explained. Unable to find part 2 of this video. If available please share the URL. Thanks
ua-cam.com/video/5dWtzvwP82g/v-deo.html
Thanks Pramode. Helps me to recollect what i did.
This video is good. To verify the response values, can we connect to DB and compare ??
its very glad sir.......thank you so much..........but iam getting error saying dat unable install newman.....plz guide me to do dat.......
Great video bro.. please keep posting like this.
Hi Pramode! Thank you. Your videos of great help.
I'm trying to use the snippets from Postman but the scripts which I have is quite different from yours. For example,
//Mandatory fields should be returned
tests["User Name is present"] = responseBody.has("userName")
pm.test("User Name is present", function () {
pm.expect(pm.response.text()).to.include("userName");
});
In the above, both tests are passing but I prefer the first one as it much easier to read. Can you plz tell me how I can change it
Great tutorial that included how to run tests. Thank you!
Glad you liked it, Please share and like :), This is what motivates me
Thank you! I've learnt much more today!
Good job, dude. Helped me a lot. Thanks!
Your welcome, please share and join Facebook group
this is what I am looking for. Great video! thank you my friend
Glad you liked it, Please share and like :), This is what motivates me
Awesome video,
How can i test the call back service API using postman test
+Tuely QA I am not sure if this feature is supported, I had this same issue I exported the postman request in Javascript and rewritten my code to handle it callback and assert it's response etc
Awesome video... Thanks!
I need to ask the newman report link is local,how can we make it public which can be shared to other people?
Create one script in python, html report created by newman upload to your server and send it to your client etc in mail or use jenkins to do the same for you.
Need more information on postman - I have created 4 request in a collection, if first request gives me result as id = #num ; how can i pass this id to other upcoming requests(passing this output as an input to other request?
if(responseCode.code==200){
var jsonData = JSON.parse(responseBody);
postman.setEnvironmentVariable("id", jsonData.id);
You can use the above code.
Sir need your help on the following:
I tried to install npm from CMD prompt using "npm install -g newman" but got the following error message.
C:\Users\ADMIN>npm install -g newman
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\ADMIN\AppData\Roaming
pm
ewman -> C:\Users\ADMIN\AppData\Roaming
pm
ode_modules
ewman\bin
ewman.js
+ newman@3.8.0
updated 1 package in 24.291s
Configuration of my machine is: AMD 3.60GHZ Processor, 8GB RAM,64-bit WIndows 10 OS
Hello, I want to test multiple POST APIs, and for that I want to send parameters using CSV... please help me....
zabardast...very good
It is comfortable, listening this video in which you teaching the concepts, at the same time could you please raise your voice little bit louder? An once again thanks for your effort.
Thanks , Will take care next time.
Nice vid! How do i use setNextRequest to steer my test suite in PM Runner?
I would suggest you to read following article which is great - blog.getpostman.com/2016/03/23/conditional-workflows-in-postman/
I found it helpful. Thank you.
Nice tutorial, thanks for share...
Greetings from Ecuador :)
Thanks :) Glad You liked it
Hi,
I have several API's in my project that are that are secured using Authorization , So before using post methos i need to save my token in a variable . Can we go this in postman
Thanks..
+Bharath K yes use the pre script in postman tab
You got a new sub. great video! Thanks for posting!
Thanks for Sub, Appreciated
Nice video,
Is there any way to run these test cases automatically instead of opening NodeJS command prompt and running the test case there?
+Saurabh Mishra You mean running only test case? You can use newman and if you want them run daily etc use Jenkins
Thanks for sharing this awesome video because it's very helpful for me to learn API testing by Postman Client.
+Lalit Arora Glad you like it, expect some awesome videos soon
nice video it helps me a lot thank you
Glad you like it , Expect some more awesome videos
Helpful bro...
Cool mate very useful
Hi,
I have a query. For eg, My API value is getting change. ("current_fuel_consumption": 106,) This 106 Value will get change whenever I am hitting the API. How to do I automate for this Scenario? Please advice
Save the response or have verification in integer or integer with regex of values 3
@@ItsTechMode - Thanks for the Quick Response :) Glad to see your video's
Glad you liked it, please share in your group that helps and keep me motivated. ☺️
Thank you very much. This clip saves my day
Thanks , You liked it, Please share with your friends
Great One!!!
I've a doubt. When i select the Response body: JSON value check under Test tab in GET request I find a code like this:
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.value).to.eql(100);
});
how to deal with it?
Hi @Sumit : I also get the same code and just added like this
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData[0].title).to.eql("sunt aut facere repellat provident occaecati excepturi optio reprehenderit");
});
its working fine.
cheers :)
I have added like below but getting error (TypeError: Cannot read property 'number' of undefined)
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData[0].lineStatus).to.eql("ACTIVE");
Please help
Any help me to configure newman runners to teamcity build...
www.npmjs.com/package/newman-reporter-teamcity
nice tutorial, but voice is extremely low from around 12:00 and background music is very distracting.
Sorry
I am using windows, I installed NodeJS followed by Newman. I have API collections too (as you shown in your video)
I saved the API collection in a saperate folder. now I am trying to API collections using newman using normal command prompt window (not sure from which window I have to execute) but it is not successful and says unable to read the file.
Email me at pramoddutta@live.com, Lets discuss
At 13.03: What software you have opened to run ?
Its Terminal windows with "newman" command line postman collection runner. more details
blog.getpostman.com/2015/04/09/installing-newman-on-windows/
+srinivas kadiyala go to nodejs.org/en/download/ and download install the Windows or Mac version that you need.
Once Node.js is installed, we need to install Newman by running in the Command Line:
npm install -g newman
@tsTechMode at that very timeline you've entered a shortcut key to check for json.
can you please explain
Very useful video
Do anyone know how to convert lowerkeys to upperkeys from postman
Nice video,Thanks.
Facing problem while installing newman, couldnot download & run, please help
blog.getpostman.com/2015/04/09/installing-newman-on-windows/
www.npmjs.com/package/newman
nice video..Thank you so much
why is the video longer with black screen ? it is for when searching longer videos ?
Messed up with the video editor, Sorry :)
why did you upload 26:09 min video when the video ends at early 15...???? was it by mistake ....?
people want to know....@ItsTechMode
Guys it was a mistake there is nothing there, please ignore it, youtube doesn't allow me edit the video after 100k views, sorry and enjoy.. 😅😅
nice video... Thanks!
Glad you liked it, Please share and like :), This is what motivates me
One very important question : We two people are doing testing using Postman? API is taken care by me and another by him. finally we have merge both scripts toghter. Please suggest how would we do that?
What you guys can do is, Import the scripts to Code (In any Programming language and )create your own asserts based on that.
www.getpostman.com/docs/postman/sending_api_requests/generate_code_snippets
Why background music is coming???
good stuff
Great tutorial content on Postman, *thank you!*. (BUT: please stop playing music in the background -- very distracting.)
Sure will
what's a test soot?
Test Suite. Please pardon that
How to generate the html test results with Postman
stackoverflow.com/questions/40780141/how-to-make-api-html-report-with-the-help-of-command-prompt-other-then-newman
Can you please make video without music?Content is very helpful but this is music is very distracting.
Thank you so much!
Glad you like it , Expect some more awesome videos
I am getting error in installing Newman, help?
can you post here?
thanks
very good tutorial, thank you .. but the music in the background makes it a bit hard to focus on what u're saying .. thanks !
+peaceandpiesperson will take care next time
The voice needs to be loud and clear. too many un-necessary clicks makes it irritating.
it was a nice video but the background music was irritating literally
Bro , next time plz stop background music and plz speak clear....
needs a structure....i tried for 10 min and i am done.
Please remove background music. No one can understand. The background music distracting .
Sure, will take care next time
Good intro tutorial. The background music was distracting and not helpful. I'd suggest not using it in future videos
Hi, the video is good but can you please turn off the background music.
I do not understand this speaker and the resolution is so poor I am not able to see the screen. Maybe this is enough in a 3rd world country but not in a world where we have universities and quality tools!
Do you know where Postman was developed ? It was created by Abhinav Asthana, a programmer and designer based in Bangalore, India. CEOs of Google and Microsoft are Indians ! If you still think India is a 3rd world country, it only demonstrates your ignorance, haughtiness and racist attitude !
Thanks for the feedback, will take care next time, I tried my best to share my knowledge with limited resources. Please understand my situation here :)
Why do you want to reply to such racist, misinformed a**holes who think India is a third world country with no universities ! I didn't have any problem understanding you or seeing the screen despite slightly poor vision in my right eye ! The chief aim of such people is to show India in bad light. They go around hunting in forums doing that. Hope you'll understand it some day.
you went too fast; i'm a newbie, in postman, and the details you give are good, but, your going so fast i'm losing the important message.
Lost in Postman
Do check out the other tuts , You will get all the details
Last 15 mins was empty
It was a mistake, nothing there please ignore
Back ground music sucks
irritating music.
The way you talk like say bla bla.. can't hear you properly.. speak slow n clear
Will take care next time
I find your video clear! thanks for sharing!!
same issue I faced. The person is just running here and there. clicking everywhere possible he can.