API testing using postman - Part 1

  Рет қаралды 172,169

ItsTechMode

ItsTechMode

Күн бұрын

Пікірлер: 139
@shrutilembhe2413
@shrutilembhe2413 7 жыл бұрын
Hi Pramode Awesome video...It helps me a lot..thanks..!!
@ItsTechMode
@ItsTechMode 7 жыл бұрын
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.
@manpreetmudhar8436
@manpreetmudhar8436 6 жыл бұрын
Thanks for explaining it in a simple way. I grab everything quickly. Keep uploading
@sneh208
@sneh208 7 жыл бұрын
Great Video. took a half day to get start running and create test suit. Great Work!!!
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Glad you like it , Expect some more awesome videos
@shuaizhou9751
@shuaizhou9751 6 жыл бұрын
awesome. Much better than other basic introduction video
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Thanks, Please share and subscribe :)
@pardhivaerramilli6746
@pardhivaerramilli6746 7 жыл бұрын
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
@pardhivaerramilli6746
@pardhivaerramilli6746 7 жыл бұрын
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.
@vanshikachauhan17
@vanshikachauhan17 6 жыл бұрын
Very well explained. Unable to find part 2 of this video. If available please share the URL. Thanks
@bestofclubhouse746
@bestofclubhouse746 6 жыл бұрын
kzbin.info/www/bejne/a5W6pa2srLVraMk
@1120strange
@1120strange 6 жыл бұрын
yo what's with the background music? I kept thinking I was going crazy. it mad distracting
@billwindsor4224
@billwindsor4224 6 жыл бұрын
^S S - yes, exactly, I agree
@Prayersol
@Prayersol 6 жыл бұрын
and that`s how I got from looking for an automation issue to listening to your playlists
@sethuchiyan16
@sethuchiyan16 7 жыл бұрын
This video is good. To verify the response values, can we connect to DB and compare ??
@dmytroboiko1
@dmytroboiko1 6 жыл бұрын
Good job, dude. Helped me a lot. Thanks!
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Your welcome, please share and join Facebook group
@MuthuPrasannaTester
@MuthuPrasannaTester 7 жыл бұрын
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.
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Thanks , Will take care next time.
@tinyhydrogreens1932
@tinyhydrogreens1932 6 жыл бұрын
Great tutorial that included how to run tests. Thank you!
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Glad you liked it, Please share and like :), This is what motivates me
@tranquocthanh949
@tranquocthanh949 6 жыл бұрын
this is what I am looking for. Great video! thank you my friend
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Glad you liked it, Please share and like :), This is what motivates me
@ramkumarsubramanian9414
@ramkumarsubramanian9414 6 жыл бұрын
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
@tuelyqa7951
@tuelyqa7951 7 жыл бұрын
Awesome video, How can i test the call back service API using postman test
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+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
@shradhameshram8639
@shradhameshram8639 7 жыл бұрын
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?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
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.
@shradhameshram8639
@shradhameshram8639 7 жыл бұрын
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?
@shreeparshwarajk3926
@shreeparshwarajk3926 7 жыл бұрын
if(responseCode.code==200){ var jsonData = JSON.parse(responseBody); postman.setEnvironmentVariable("id", jsonData.id); You can use the above code.
@siddharthamutyala3372
@siddharthamutyala3372 7 жыл бұрын
Thanks Pramode. Helps me to recollect what i did.
@javedalam831
@javedalam831 6 жыл бұрын
Great video bro.. please keep posting like this.
@maxcool8896
@maxcool8896 6 жыл бұрын
Thank you! I've learnt much more today!
@sarikagowda4199
@sarikagowda4199 7 жыл бұрын
its very glad sir.......thank you so much..........but iam getting error saying dat unable install newman.....plz guide me to do dat.......
@lalitarora138
@lalitarora138 7 жыл бұрын
Thanks for sharing this awesome video because it's very helpful for me to learn API testing by Postman Client.
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+Lalit Arora Glad you like it, expect some awesome videos soon
@Sharmams4
@Sharmams4 6 жыл бұрын
You got a new sub. great video! Thanks for posting!
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Thanks for Sub, Appreciated
@the_fx_rider
@the_fx_rider 7 жыл бұрын
Hello, I want to test multiple POST APIs, and for that I want to send parameters using CSV... please help me....
@GeektheGladiator
@GeektheGladiator 7 жыл бұрын
Nice video, Is there any way to run these test cases automatically instead of opening NodeJS command prompt and running the test case there?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+Saurabh Mishra You mean running only test case? You can use newman and if you want them run daily etc use Jenkins
@EdiQ1985
@EdiQ1985 7 жыл бұрын
Nice tutorial, thanks for share... Greetings from Ecuador :)
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Thanks :) Glad You liked it
@josephyesuvadian3930
@josephyesuvadian3930 6 жыл бұрын
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" } ] } ]
@sagarpardeshi6623
@sagarpardeshi6623 7 жыл бұрын
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
@bharathk621
@bharathk621 7 жыл бұрын
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..
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+Bharath K yes use the pre script in postman tab
@chrisbakker9978
@chrisbakker9978 7 жыл бұрын
Nice vid! How do i use setNextRequest to steer my test suite in PM Runner?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
I would suggest you to read following article which is great - blog.getpostman.com/2016/03/23/conditional-workflows-in-postman/
@TheZk24
@TheZk24 6 жыл бұрын
I found it helpful. Thank you.
@GeektheGladiator
@GeektheGladiator 7 жыл бұрын
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?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
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
@keerthirajb8742
@keerthirajb8742 6 жыл бұрын
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
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Save the response or have verification in integer or integer with regex of values 3
@keerthirajb8742
@keerthirajb8742 6 жыл бұрын
@@ItsTechMode - Thanks for the Quick Response :) Glad to see your video's
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Glad you liked it, please share in your group that helps and keep me motivated. ☺️
@sasu7090
@sasu7090 7 жыл бұрын
nice tutorial, but voice is extremely low from around 12:00 and background music is very distracting.
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Sorry
@thetukiet
@thetukiet 6 жыл бұрын
Thank you very much. This clip saves my day
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Thanks , You liked it, Please share with your friends
@sumitbanerjee1594
@sumitbanerjee1594 7 жыл бұрын
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?
@shabnam7039
@shabnam7039 6 жыл бұрын
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 :)
@babua3778
@babua3778 6 жыл бұрын
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
@manirandhawa879
@manirandhawa879 5 жыл бұрын
Helpful bro...
@TheNishi42
@TheNishi42 7 жыл бұрын
Nice video,Thanks.
@mirali6660
@mirali6660 7 жыл бұрын
Cool mate very useful
@GeektheGladiator
@GeektheGladiator 7 жыл бұрын
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.
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Email me at pramoddutta@live.com, Lets discuss
@rimjhim4278
@rimjhim4278 7 жыл бұрын
zabardast...very good
@billwindsor4224
@billwindsor4224 6 жыл бұрын
Great tutorial content on Postman, *thank you!*. (BUT: please stop playing music in the background -- very distracting.)
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Sure will
@sagarpardeshi6623
@sagarpardeshi6623 7 жыл бұрын
Very useful video
@srinivaskadiyalaSKC
@srinivaskadiyalaSKC 7 жыл бұрын
At 13.03: What software you have opened to run ?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Its Terminal windows with "newman" command line postman collection runner. more details blog.getpostman.com/2015/04/09/installing-newman-on-windows/
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+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
@RayRana
@RayRana 7 жыл бұрын
@tsTechMode at that very timeline you've entered a shortcut key to check for json. can you please explain
@chandrasekhar83
@chandrasekhar83 6 жыл бұрын
Any help me to configure newman runners to teamcity build...
@ItsTechMode
@ItsTechMode 6 жыл бұрын
www.npmjs.com/package/newman-reporter-teamcity
@shrutisaraf8393
@shrutisaraf8393 7 жыл бұрын
nice video it helps me a lot thank you
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Glad you like it , Expect some more awesome videos
@tlprashant
@tlprashant 6 жыл бұрын
Facing problem while installing newman, couldnot download & run, please help
@bestofclubhouse746
@bestofclubhouse746 6 жыл бұрын
blog.getpostman.com/2015/04/09/installing-newman-on-windows/ www.npmjs.com/package/newman
@JV-im2wq
@JV-im2wq 5 жыл бұрын
Do anyone know how to convert lowerkeys to upperkeys from postman
@mayasingh1910
@mayasingh1910 6 жыл бұрын
Great One!!!
@poornaselvi4642
@poornaselvi4642 7 жыл бұрын
nice video..Thank you so much
@bishopoftroy
@bishopoftroy 6 жыл бұрын
why is the video longer with black screen ? it is for when searching longer videos ?
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Messed up with the video editor, Sorry :)
@dhillandhillan9121
@dhillandhillan9121 5 жыл бұрын
why did you upload 26:09 min video when the video ends at early 15...???? was it by mistake ....? people want to know....@ItsTechMode
@ItsTechMode
@ItsTechMode 5 жыл бұрын
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.. 😅😅
@balaramp718
@balaramp718 7 жыл бұрын
Why background music is coming???
@tlprashant
@tlprashant 6 жыл бұрын
How to generate the html test results with Postman
@ItsTechMode
@ItsTechMode 6 жыл бұрын
stackoverflow.com/questions/40780141/how-to-make-api-html-report-with-the-help-of-command-prompt-other-then-newman
@peaceandpiesperson
@peaceandpiesperson 7 жыл бұрын
very good tutorial, thank you .. but the music in the background makes it a bit hard to focus on what u're saying .. thanks !
@ItsTechMode
@ItsTechMode 7 жыл бұрын
+peaceandpiesperson will take care next time
@SainiAnkur
@SainiAnkur 6 жыл бұрын
nice video... Thanks!
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Glad you liked it, Please share and like :), This is what motivates me
@preetiduhan9937
@preetiduhan9937 6 жыл бұрын
Can you please make video without music?Content is very helpful but this is music is very distracting.
@mailethiesen
@mailethiesen 7 жыл бұрын
Thank you so much!
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Glad you like it , Expect some more awesome videos
@prometheus5700
@prometheus5700 6 жыл бұрын
what's a test soot?
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Test Suite. Please pardon that
@mayankmaheshwari6400
@mayankmaheshwari6400 6 жыл бұрын
The voice needs to be loud and clear. too many un-necessary clicks makes it irritating.
@soniyas5359
@soniyas5359 7 жыл бұрын
I am getting error in installing Newman, help?
@ItsTechMode
@ItsTechMode 7 жыл бұрын
can you post here?
@bishnuchowdhury2250
@bishnuchowdhury2250 7 жыл бұрын
good stuff
@batasheemum
@batasheemum 6 жыл бұрын
needs a structure....i tried for 10 min and i am done.
@musaibjeelani
@musaibjeelani 6 жыл бұрын
thanks
@sduvvarapu007
@sduvvarapu007 6 жыл бұрын
it was a nice video but the background music was irritating literally
@avinashsharma2159
@avinashsharma2159 5 жыл бұрын
Bro , next time plz stop background music and plz speak clear....
@sarathjai5870
@sarathjai5870 6 жыл бұрын
Please remove background music. No one can understand. The background music distracting .
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Sure, will take care next time
@vigneshmathivanan9203
@vigneshmathivanan9203 7 жыл бұрын
Good intro tutorial. The background music was distracting and not helpful. I'd suggest not using it in future videos
@arnabsaha6684
@arnabsaha6684 7 жыл бұрын
Hi, the video is good but can you please turn off the background music.
@educatorestrada29
@educatorestrada29 7 жыл бұрын
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
@ItsTechMode
@ItsTechMode 7 жыл бұрын
Do check out the other tuts , You will get all the details
@spicybite3938
@spicybite3938 6 жыл бұрын
Back ground music sucks
@santhosht5649
@santhosht5649 5 жыл бұрын
Last 15 mins was empty
@ItsTechMode
@ItsTechMode 5 жыл бұрын
It was a mistake, nothing there please ignore
@realB12
@realB12 7 жыл бұрын
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!
@rsmb99
@rsmb99 6 жыл бұрын
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 !
@ItsTechMode
@ItsTechMode 6 жыл бұрын
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 :)
@rsmb99
@rsmb99 6 жыл бұрын
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.
@avinashsharma2159
@avinashsharma2159 5 жыл бұрын
irritating music.
@KhushiPatel-uo5gx
@KhushiPatel-uo5gx 6 жыл бұрын
The way you talk like say bla bla.. can't hear you properly.. speak slow n clear
@ItsTechMode
@ItsTechMode 6 жыл бұрын
Will take care next time
@luisenriquegonzalez5130
@luisenriquegonzalez5130 6 жыл бұрын
I find your video clear! thanks for sharing!!
@mayankmaheshwari6400
@mayankmaheshwari6400 6 жыл бұрын
same issue I faced. The person is just running here and there. clicking everywhere possible he can.
API testing using postman - Part 2(Running in jenkins)
16:29
ItsTechMode
Рет қаралды 23 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 44 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 40 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 79 МЛН
API Testing using POSTMAN - Advance Test Cases
10:17
ItsTechMode
Рет қаралды 62 М.
How to automate API Tests with Postman
20:04
Software Testing 101
Рет қаралды 57 М.
Postman -  Running REST API tests in Jenkins with Newman
29:22
Valentin Despa
Рет қаралды 51 М.
What is API? - Application Programming Interface - Part-1
48:44
Naveen AutomationLabs
Рет қаралды 465 М.
The Basics of Using Postman for API Testing
10:00
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 666 М.
HTTP Status Codes (API Testing - Part 25)
28:46
QAFox
Рет қаралды 7 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 44 МЛН