Тёмный

How to write API test cases in Postman using JavaScript 

Naveen AutomationLabs
Подписаться 389 тыс.
Просмотров 89 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@myhome6435
@myhome6435 4 года назад
Hello! naveen.Today,I got selected as a Automation tester in reputed company.Thankyou so so so much.All credits goes to u.
@heathengaming8461
@heathengaming8461 4 года назад
How
@vasudhhakurada205
@vasudhhakurada205 3 года назад
Missing this crucial 15 minutes costed me an interview rejection at a reputed company. Beautifully explained
@ceciliaanthony4724
@ceciliaanthony4724 3 года назад
Really really helpful.... Today I got api to automate...but I was really clueless since I'm new to postman....Ur quick video really helped me since I was running out of time
@prachiksh
@prachiksh 3 года назад
You explain so well , my fear of API testing is going away thanks to you
@abinashjena8928
@abinashjena8928 4 года назад
I don't want to sleep until I finish your latest vdo :)
@sb7355
@sb7355 3 года назад
You are the best IT teacher I've known. I blindly rely on your videos and follow you on every Testing skill. The moment I need to learn any testing topic I search Blah blah Naveen automation labs and its there. Thank you for everything. You truly rock :)
@naveenautomationlabs
@naveenautomationlabs 3 года назад
haha blah blah Naveen
@sb7355
@sb7355 3 года назад
@@naveenautomationlabs where Blah blah ="Every Testing Skill possible"
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Thanks for watching
@ankitap2987
@ankitap2987 Год назад
Such a crisp and clear explanation ..would be interesting to see the data parametrization in api tests.
@KabirH2017
@KabirH2017 4 года назад
Very quick and well explanatory video on tests in Postman! Very much useful!!
@yasminalazizi9399
@yasminalazizi9399 Год назад
Naveen, you are one of the best teachers, thank you so much and best of luck, I highly supporting you.
@meghatiwari5225
@meghatiwari5225 4 года назад
Thankyou so much, you are best teacher. Please share more videos for postman. Complete postman videos.Thanks
@shwettak
@shwettak 3 года назад
Loved this quick tutorial. Just the right stuff explained in such a short time period. Thanks a ton!
@muneeshsharma4907
@muneeshsharma4907 2 года назад
Waao.. that was quick and easy. Thank you so much @Naveen
@pallavibhalerao9796
@pallavibhalerao9796 3 года назад
This is really good. Thank you Naveen. Kindly add more videos on this topic like Multiple API Execution, automated collection run etc.
@santoshpr458
@santoshpr458 3 года назад
Easily understandable explanation.. sir if possible please create a series on RU-vid of complete api testing course using postman.
@TheMskman
@TheMskman 4 года назад
omg! it's super cool and pretty easy to use! thank you, Naveen!
@santhoshbala1121
@santhoshbala1121 4 года назад
Thanks Naveen - very useful. Apart from running single or individual API's could you also cover a video on how to run a sequence of API's (i.e End 2 End API's) covering a particular flow ? In other words how do we pass the Auth Token or Bearer token from one API to the other for an execution of a set of API's in a sequence ?
@srinivaskadiyala
@srinivaskadiyala 3 года назад
Any video added for this ?
@nishasherine8445
@nishasherine8445 4 года назад
Really useful video. Content is really good and exactly the one I was searching for. Thanks
@AratiKhandelwal
@AratiKhandelwal 4 года назад
What I expect I got in my hand thank you😊👍🏻
@barkhachetwani9735
@barkhachetwani9735 3 года назад
Hello... Plz provide the api testing from basic to advance like selenium with java
@sahasplays934
@sahasplays934 Год назад
Very clear and useful. Thanks for uploading.
@shanky046
@shanky046 4 года назад
Hi Naveen, thanks for the video...Please tell me how can i read last_name for example from the request body?
@aparnamohanty9375
@aparnamohanty9375 4 года назад
Naveen, please make a video on new carina framework. Set up and everything. Please naveen. I have learnt automation from your videos.
@naziashaikh189
@naziashaikh189 4 года назад
Thank you so much Naveen, you are amazingly good..
@vivek3978
@vivek3978 2 года назад
Thanks naveen for providing quickest understanding on API testing :-)
@kavithamittapalli864
@kavithamittapalli864 2 года назад
Thanks Naveen. Very useful info. If any company’s testing into APIs using postman Manually, is there any format we can write test cases and how can we save our test cases in excel if they don’t have any test management tool?
@anmolgupta4926
@anmolgupta4926 4 года назад
Really Helpful.
@nancybhardwaj3895
@nancybhardwaj3895 3 года назад
Thank you Naveen..I did it with the help of your video 👍👍
@maheshbabukandukuri1989
@maheshbabukandukuri1989 4 года назад
Thank you Naveen...
@SarangHoley
@SarangHoley 4 года назад
Thanks for the video 😊👍
@vd9100
@vd9100 8 месяцев назад
Thanks, Naveen! Great video!
@siddharthau489
@siddharthau489 2 года назад
Thanks for the detailed explanation. Can we write a pre request script to upload an image file as binary in the Body of the request? I have an api in which I upload the image binary in the body before sending the request. I'm trying to validate this through script. Could you please guide me how to write the script for this. Thank You.
@ans11agg
@ans11agg 4 года назад
Hi Naveen, Firstly thanks for such a great video. Can you please explain if we can use Authorization tab to pass the bearer token instead of Header as shown in your video ? I tried passing the bearer token in Authorization tab but the response was unsuccessful. Cheers.
@lkkota41
@lkkota41 4 месяца назад
thank you..explained well..
@hiralgosani596
@hiralgosani596 2 года назад
Helpfull session.. Thankyou
@vaishnavi8988
@vaishnavi8988 4 года назад
Hi sir, please make a video on thread testing.
@thakurnikhilsingh2027
@thakurnikhilsingh2027 2 года назад
Sir I want to start learning API from scratch ..do we have any series for the same please..
@supreetkaur2916
@supreetkaur2916 Год назад
Hey Naveen, can you please share how to write GET call test cases using Javascript with parameter's value passed in the url..
@anilkumardevaki7014
@anilkumardevaki7014 3 года назад
please do some videos on Java Scripting also sir it will be very Useful and your way of explanation is very clear and easy to understand.
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Plz watch my javascript series. Thanks
@rashmitasamrat
@rashmitasamrat 3 года назад
Hi Naveen your video is very helpful. I have a question how you can set the random to only alphabets(no numbers and special characters) and 5 characters long. I wan to do same for setting the first name dynamically. Thanks in advance
@shitalkakad8932
@shitalkakad8932 2 года назад
Thank you so much sir
@PriyankaJadhavPiu
@PriyankaJadhavPiu 3 года назад
Hello Sir. Can you please help me with, how to validate the request body is not having NULL or "" values
@cat8
@cat8 3 года назад
Dear Naveen, would you be able to recommend me a person who can be my tutor in API testing particularly Java Script in Postman. I am stuck and I wish I can find a person who can teach me. Thank you so much 🙏🏻
@amitaswal4129
@amitaswal4129 4 года назад
Great Naveen
@amruthaa.s456
@amruthaa.s456 3 года назад
Hi Naveen , Thanks for the great info on Postman test script. Can you please help us for how to write test script to run a request multiple times with different data sets. example : In request body will have 2 values like -- { "Id": "1234", "EditFields":["44","45"] } . We have to test this for different values with different response code like - Id=1234 then 200K response or Id=12sd then 500 response Kindly help us for the above scenarios. Thank you in advance.
@AmitSingh-pz3ji
@AmitSingh-pz3ji 3 года назад
hi ,do you have any full course on Postman and soap?
@saikrishna8698
@saikrishna8698 4 года назад
To handle XML I am converting xml to json . Is there any other way expect this.?
@SivaKumar-cx7db
@SivaKumar-cx7db 2 года назад
Hi Bro, how to upload response to a file using postman api under Tests in postman
@rohanytc
@rohanytc 4 года назад
Hi, I have an api request which is configured to fetch values from CSV file and it runs well using collection runner but when I run the api individually by clicking on send button it shows an error because the values from CSV file are not accessible. Is there a way to solve this problem?
@aishwaryajagtap1387
@aishwaryajagtap1387 2 года назад
I refer same url from the video, but in POST request, Result shows 200 ok but in below, its showing field - name, message - cant be blank, please help me with this
@codeit5351
@codeit5351 4 года назад
Can you run this test cases automatically? I mean to run all the test in Postman from visual studio code?
@swatidubey4669
@swatidubey4669 4 года назад
Sir , i am getting one error in failed test case as Cannot read property 'field 1' of undefined , how to fix it.
@harisankar2010
@harisankar2010 3 года назад
Thank you so much Man
@sairatanpatra
@sairatanpatra 4 года назад
Thanxxxx naveen
@merajulhaque9107
@merajulhaque9107 4 года назад
can you please help me how to retrieve response object from input file. I am not able to do that in test scripts.. My requirement is I have to login from 10 different users and validate user Role in response for each user
@aishkapoor5790
@aishkapoor5790 4 года назад
Hello Naveen sir, your telegram link is not working.. Could you pls provide here a valid link so that I can join it
@yazh403
@yazh403 3 года назад
U put {get.data.result. Email} .. my response doesn't have any header or parent.. how to set "" content checking"" bro . .. I put directly data .get.rollnumber ... I am getting error.. how to resolve
@waniya-huzzu
@waniya-huzzu 4 года назад
Awesome
@soumyakhuntia7655
@soumyakhuntia7655 4 года назад
Hi Naveen, I am executing below code, its not working, getting "pm is no defined". Would you please help me on this. pm.test("response is ok", function () { pm.response.to.have.status(200); });
@naveenautomationlabs
@naveenautomationlabs 4 года назад
You need to upgrade your postman.
@sambhawjain2201
@sambhawjain2201 4 года назад
how to validate response size in postman
@srinureddy9521
@srinureddy9521 3 года назад
Hi Naveen, can we give access token under Authorization Tab in postman.instead of creating Authorization key under Headers Tab in postman.Thanks in advance
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Yes, you can
@srinureddy9521
@srinureddy9521 3 года назад
@@naveenautomationlabs Thanks Naveen for the valuable response
@shardasstudio6505
@shardasstudio6505 4 года назад
Hi Sir... m getting this below response. { "_meta": { "success": false, "code": 401, "message": "Authentication failed." }, "result": { "name": "Unauthorized", "message": "Your request was made with invalid credentials.", "code": 0, "status": 401 } }
@manishmj9715
@manishmj9715 4 года назад
Did you add Oauth2.0 authorization..? Even 'get' calls require authorization. Just login using google, fb / github account & get the bearer token.
@kartheekkanikanti1390
@kartheekkanikanti1390 2 года назад
How to Update Mobile Number Randomly in the request with exact 10 digits
@nishasha6039
@nishasha6039 3 года назад
Can you share Api testing questions for 3 years experience based on real time
@naveenautomationlabs
@naveenautomationlabs 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OWCu7Pp8LEQ.html
@suryamanikanta788
@suryamanikanta788 4 года назад
hi can any one please help me how to prepare automation feasibility document for web application (or) if you have any sample document please send or help me.
@kingfirea26
@kingfirea26 2 месяца назад
pls can anybody tell me hw to write test result with vs code
@rajeshpg2347
@rajeshpg2347 2 года назад
How to validate the memeberId in response body with square brakets. result{ "members"[ { memberId:7578888; }]
@vikramvimal5383
@vikramvimal5383 Год назад
thanks Naveen 🤍
Далее
What is API Gateway? || Naveen AutomationLabs
40:20
Просмотров 29 тыс.
Сколько стоит ПП?
00:57
Просмотров 355 тыс.
这位大哥以后恐怕都不敢再插队了吧…
00:16
How to Automate API Testing with Postman
34:32
Просмотров 16 тыс.
How write API Tests with Postman in 3 easy steps
18:49
Просмотров 163 тыс.
Postman Api Testing Tutorial for beginners
16:45
Просмотров 39 тыс.
Part 1 - API Testing Interview Questions & Answers
1:04:39
What is JSON? A Quick Overview!
28:14
Просмотров 69 тыс.
API Test Cases Creation (API Testing - Part 33)
35:50