How to write API test cases in Postman using JavaScript

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 80

  • @myhome6435
    @myhome6435 4 роки тому +27

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

  • @prachiksh
    @prachiksh 4 роки тому +7

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

  • @vasudhhakurada205
    @vasudhhakurada205 3 роки тому +2

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

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

  • @abinashjena8928
    @abinashjena8928 4 роки тому +9

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

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

  • @ankitap2987
    @ankitap2987 Рік тому +1

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

  • @KabirH2017
    @KabirH2017 4 роки тому +2

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

  • @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 2 роки тому +1

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

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

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

  • @santoshpr458
    @santoshpr458 3 роки тому

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

  • @sahasplays934
    @sahasplays934 Рік тому

    Very clear and useful. Thanks for uploading.

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

  • @thakurnikhilsingh2027
    @thakurnikhilsingh2027 2 роки тому

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

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

  • @santhoshbala1121
    @santhoshbala1121 4 роки тому +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 ?

  • @TheMskman
    @TheMskman 4 роки тому +3

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

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

  • @vivek3978
    @vivek3978 2 роки тому

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

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

  • @PriyankaJadhavPiu
    @PriyankaJadhavPiu 3 роки тому

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

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

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

  • @aparnamohanty9375
    @aparnamohanty9375 4 роки тому +1

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

  • @nishasherine8445
    @nishasherine8445 4 роки тому +1

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

  • @barkhachetwani9735
    @barkhachetwani9735 3 роки тому +1

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

  • @vd9100
    @vd9100 8 місяців тому

    Thanks, Naveen! Great video!

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

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

  • @AratiKhandelwal
    @AratiKhandelwal 4 роки тому +2

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

  • @AmitSingh-pz3ji
    @AmitSingh-pz3ji 3 роки тому

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

  • @SivaKumar-cx7db
    @SivaKumar-cx7db 2 роки тому

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

  • @nancybhardwaj3895
    @nancybhardwaj3895 3 роки тому

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

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

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

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

  • @saikrishna8698
    @saikrishna8698 4 роки тому

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

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

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

  • @hiralgosani596
    @hiralgosani596 2 роки тому

    Helpfull session.. Thankyou

  • @naziashaikh189
    @naziashaikh189 4 роки тому +2

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

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

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

  • @lkkota41
    @lkkota41 4 місяці тому

    thank you..explained well..

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

  • @SarangHoley
    @SarangHoley 4 роки тому +2

    Thanks for the video 😊👍

  • @anmolgupta4926
    @anmolgupta4926 4 роки тому +2

    Really Helpful.

  • @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 роки тому +1

      Did you add Oauth2.0 authorization..? Even 'get' calls require authorization. Just login using google, fb / github account & get the bearer token.

  • @maheshbabukandukuri1989
    @maheshbabukandukuri1989 4 роки тому +2

    Thank you Naveen...

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

  • @vaishnavi8988
    @vaishnavi8988 4 роки тому +1

    Hi sir, please make a video on thread testing.

  • @shitalkakad8932
    @shitalkakad8932 2 роки тому

    Thank you so much sir

  • @amitaswal4129
    @amitaswal4129 4 роки тому +1

    Great Naveen

  • @harisankar2010
    @harisankar2010 3 роки тому

    Thank you so much Man

  • @nishasha6039
    @nishasha6039 3 роки тому

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

  • @sambhawjain2201
    @sambhawjain2201 4 роки тому

    how to validate response size in postman

  • @kingfirea26
    @kingfirea26 3 місяці тому

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

  • @kartheekkanikanti1390
    @kartheekkanikanti1390 2 роки тому

    How to Update Mobile Number Randomly in the request with exact 10 digits

  • @sairatanpatra
    @sairatanpatra 4 роки тому +1

    Thanxxxx naveen

  • @waniya-huzzu
    @waniya-huzzu 4 роки тому +1

    Awesome

  • @rajeshpg2347
    @rajeshpg2347 2 роки тому

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

  • @vikramvimal5383
    @vikramvimal5383 Рік тому +1

    thanks Naveen 🤍