How to write API test cases in Postman using JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 80

  • @myhome6435
    @myhome6435 5 ปีที่แล้ว +27

    Hello! naveen.Today,I got selected as a Automation tester in reputed company.Thankyou so so so much.All credits goes to u.

  • @vasudhhakurada205
    @vasudhhakurada205 3 ปีที่แล้ว +2

    Missing this crucial 15 minutes costed me an interview rejection at a reputed company. Beautifully explained

  • @prachiksh
    @prachiksh 4 ปีที่แล้ว +7

    You explain so well , my fear of API testing is going away thanks to you

  • @ceciliaanthony4724
    @ceciliaanthony4724 3 ปีที่แล้ว +1

    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

  • @yasminalazizi9399
    @yasminalazizi9399 ปีที่แล้ว

    Naveen, you are one of the best teachers, thank you so much and best of luck, I highly supporting you.

  • @sb7355
    @sb7355 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      haha blah blah Naveen

    • @sb7355
      @sb7355 3 ปีที่แล้ว +1

      @@naveenautomationlabs where Blah blah ="Every Testing Skill possible"

    • @naveenautomationlabs
      @naveenautomationlabs  3 ปีที่แล้ว

      Thanks for watching

  • @abinashjena8928
    @abinashjena8928 5 ปีที่แล้ว +9

    I don't want to sleep until I finish your latest vdo :)

  • @KabirH2017
    @KabirH2017 4 ปีที่แล้ว +2

    Very quick and well explanatory video on tests in Postman! Very much useful!!

  • @ankitap2987
    @ankitap2987 ปีที่แล้ว +1

    Such a crisp and clear explanation ..would be interesting to see the data parametrization in api tests.

  • @meghatiwari5225
    @meghatiwari5225 4 ปีที่แล้ว +1

    Thankyou so much, you are best teacher. Please share more videos for postman. Complete postman videos.Thanks

  • @shwettak
    @shwettak 3 ปีที่แล้ว +1

    Loved this quick tutorial. Just the right stuff explained in such a short time period. Thanks a ton!

  • @muneeshsharma4907
    @muneeshsharma4907 3 ปีที่แล้ว +1

    Waao.. that was quick and easy.
    Thank you so much @Naveen

  • @vivek3978
    @vivek3978 3 ปีที่แล้ว

    Thanks naveen for providing quickest understanding on API testing :-)

  • @sahasplays934
    @sahasplays934 ปีที่แล้ว

    Very clear and useful. Thanks for uploading.

  • @TheMskman
    @TheMskman 5 ปีที่แล้ว +3

    omg! it's super cool and pretty easy to use! thank you, Naveen!

  • @pallavibhalerao9796
    @pallavibhalerao9796 3 ปีที่แล้ว +1

    This is really good. Thank you Naveen.
    Kindly add more videos on this topic like Multiple API Execution, automated collection run etc.

  • @vd9100
    @vd9100 11 หลายเดือนก่อน

    Thanks, Naveen! Great video!

  • @nishasherine8445
    @nishasherine8445 4 ปีที่แล้ว +1

    Really useful video. Content is really good and exactly the one I was searching for. Thanks

  • @AratiKhandelwal
    @AratiKhandelwal 5 ปีที่แล้ว +2

    What I expect I got in my hand thank you😊👍🏻

  • @santoshpr458
    @santoshpr458 3 ปีที่แล้ว

    Easily understandable explanation.. sir if possible please create a series on TH-cam of complete api testing course using postman.

  • @naziashaikh189
    @naziashaikh189 5 ปีที่แล้ว +2

    Thank you so much Naveen, you are amazingly good..

  • @anmolgupta4926
    @anmolgupta4926 4 ปีที่แล้ว +2

    Really Helpful.

  • @hiralgosani596
    @hiralgosani596 3 ปีที่แล้ว

    Helpfull session.. Thankyou

  • @nancybhardwaj3895
    @nancybhardwaj3895 3 ปีที่แล้ว

    Thank you Naveen..I did it with the help of your video 👍👍

  • @amitaswal4129
    @amitaswal4129 5 ปีที่แล้ว +1

    Great Naveen

  • @maheshbabukandukuri1989
    @maheshbabukandukuri1989 5 ปีที่แล้ว +2

    Thank you Naveen...

  • @SarangHoley
    @SarangHoley 5 ปีที่แล้ว +2

    Thanks for the video 😊👍

  • @santhoshbala1121
    @santhoshbala1121 5 ปีที่แล้ว +8

    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 ?

  • @shanky046
    @shanky046 4 ปีที่แล้ว +2

    Hi Naveen, thanks for the video...Please tell me how can i read last_name for example from the request body?

  • @aparnamohanty9375
    @aparnamohanty9375 5 ปีที่แล้ว +1

    Naveen, please make a video on new carina framework. Set up and everything.
    Please naveen. I have learnt automation from your videos.

  • @lkkota41
    @lkkota41 7 หลายเดือนก่อน

    thank you..explained well..

  • @barkhachetwani9735
    @barkhachetwani9735 3 ปีที่แล้ว +1

    Hello... Plz provide the api testing from basic to advance like selenium with java

  • @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?

  • @sairatanpatra
    @sairatanpatra 5 ปีที่แล้ว +1

    Thanxxxx naveen

  • @vaishnavi8988
    @vaishnavi8988 5 ปีที่แล้ว +1

    Hi sir, please make a video on thread testing.

  • @ans11agg
    @ans11agg 4 ปีที่แล้ว +1

    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.

  • @anilkumardevaki7014
    @anilkumardevaki7014 4 ปีที่แล้ว

    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.

  • @AmitSingh-pz3ji
    @AmitSingh-pz3ji 3 ปีที่แล้ว

    hi ,do you have any full course on Postman and soap?

  • @waniya-huzzu
    @waniya-huzzu 5 ปีที่แล้ว +1

    Awesome

  • @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?

  • @harisankar2010
    @harisankar2010 3 ปีที่แล้ว

    Thank you so much Man

  • @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.

  • @PriyankaJadhavPiu
    @PriyankaJadhavPiu 3 ปีที่แล้ว

    Hello Sir. Can you please help me with,
    how to validate the request body is not having NULL or "" values

  • @shitalkakad8932
    @shitalkakad8932 2 ปีที่แล้ว

    Thank you so much sir

  • @saikrishna8698
    @saikrishna8698 4 ปีที่แล้ว

    To handle XML I am converting xml to json . Is there any other way expect this.?

  • @thakurnikhilsingh2027
    @thakurnikhilsingh2027 2 ปีที่แล้ว

    Sir I want to start learning API from scratch ..do we have any series for the same please..

  • @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.

  • @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

  • @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

  • @srinureddy9521
    @srinureddy9521 4 ปีที่แล้ว

    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

  • @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

  • @SivaKumar-cx7db
    @SivaKumar-cx7db 2 ปีที่แล้ว

    Hi Bro, how to upload response to a file using postman api under Tests in postman

  • @soumyakhuntia7655
    @soumyakhuntia7655 5 ปีที่แล้ว

    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);
    });

  • @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..

  • @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

  • @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

  • @suryamanikanta788
    @suryamanikanta788 5 ปีที่แล้ว

    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.

  • @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.

  • @sambhawjain2201
    @sambhawjain2201 5 ปีที่แล้ว

    how to validate response size in postman

  • @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 🙏🏻

  • @kingfirea26
    @kingfirea26 5 หลายเดือนก่อน

    pls can anybody tell me hw to write test result with vs code

  • @nishasha6039
    @nishasha6039 3 ปีที่แล้ว

    Can you share Api testing questions for 3 years experience based on real time

  • @shardasstudio6505
    @shardasstudio6505 5 ปีที่แล้ว

    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 ปีที่แล้ว +1

      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

  • @rajeshpg2347
    @rajeshpg2347 2 ปีที่แล้ว

    How to validate the memeberId in response body with square brakets.
    result{
    "members"[
    {
    memberId:7578888;
    }]

  • @vikramvimal5383
    @vikramvimal5383 ปีที่แล้ว +1

    thanks Naveen 🤍