Postman API Test Automation for Beginners

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

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

  • @vdespa
    @vdespa ปีที่แล้ว +29

    Thanks for watching and I appreciate all your kind comments. Subscribe to my channel for more amazing content: www.youtube.com/@vdespa?sub_confirmation=1

    • @zwartepeat3552
      @zwartepeat3552 10 หลายเดือนก่อน +1

      This course is a delight! I find that your tone of voice and the rythme at which you speak are perfect and very pedagogical! Everything is made crystal clear for us. Good job!

    • @vdespa
      @vdespa 10 หลายเดือนก่อน

      @@zwartepeat3552 Glad to hear that. Thank you for your kind comment.

    • @zwartepeat3552
      @zwartepeat3552 10 หลายเดือนก่อน +1

      @@vdespa Got a job interview this week on this topic! If I get this this is entirely thanks to you so I will notify you here for sure! Keep on going with the good stuff.

    • @babalolaolalekan1171
      @babalolaolalekan1171 3 หลายเดือนก่อน

      @vdespa so basically API testing is used for both Manual et Automation

    • @muhammadhimdaadh2302
      @muhammadhimdaadh2302 2 หลายเดือนก่อน

      I have done everything only confused part is, in 5th assignment I cannot understand to which collection I should push to github? Because there are 5 collections right? To which collection I should push these?

  • @junaedhossain3208
    @junaedhossain3208 27 วันที่ผ่านมา

    I recently completed this course and earned my badge, and I couldn't be more thrilled with the knowledge and skills I gained! The course offered a comprehensive introduction to API testing, detailed guidance on writing and automating API tests using Postman, and practical insights on integrating tests into CI/CD pipelines. The hands-on assignments and real-world applications made the learning experience invaluable. Thank you to Valentin Despa and Postman for this exceptional and transformative course. Highly recommended!

  • @victorydaydeepstate
    @victorydaydeepstate ปีที่แล้ว +35

    I'm a boomer and have no idea what you are talking about...but I'm excited

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

      Hey boomer, I'm a cppnfs and i know a little about what he's talking about... I'm excited too

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

      Don't call yourself a boomer man

  • @ndexer
    @ndexer 4 หลายเดือนก่อน

    this is BY FAR the best Postman API Test guide I've seen yet, very good entry level guide and everything is well explaiend and clear enough for anyone to understand

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

    Thank you very much for this course! I'm glad I started to learn API automation with your training. Previously I knew just few things about test tabs, test snippents in postman and "run collection". Good luck in your future projects! 🙏

  • @angelaasatryan4081
    @angelaasatryan4081 3 หลายเดือนก่อน

    Excellent course, thanks Valentin!
    Highly recommended to everyone who wants to dive into the amazing world of API testing :)

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

    Thank you very much for such quality free content. Thanks to you, I gained wonderful new knowledge and managed to look at Postman from a new perspective.

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

      You're welcome!

  • @antoniorodriguez9028
    @antoniorodriguez9028 3 หลายเดือนก่อน

    Excellent material.
    Recommend watching from start to finish.

  • @Acksakal
    @Acksakal 4 หลายเดือนก่อน

    The tutor is majestic, thank you!

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

    Amazing tutorial for Postman covering the automation topics. Thank you so much!

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

      You bet, thanks for watching!

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

    Thanks for the tut. 2:09:40 I really need this, everytime I log in, I need to copy and paste my token or something to another endpoint. now after login or doing some requests, I could set the variable. that is really convenient.

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

      Glad to hear you are improving your workflow. Thanks for your comment.

  • @abhijeetdhumal7385
    @abhijeetdhumal7385 ปีที่แล้ว +6

    This one is good
    We want Jmeter or Jmeter DSL PERFORMANCE TESTING also

  • @abhijeetdhumal7385
    @abhijeetdhumal7385 8 หลายเดือนก่อน +3

    Please make video on Performance Testing using jmeter

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

    really helped me a lot man, its awesome and most of all its usefull,
    made my daily job so much easy

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

      Glad to hear that, thanks for your comment!

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

    I have been waiting for something like this for so long.

  • @laughingvampire7555
    @laughingvampire7555 2 หลายเดือนก่อน

    APIs have always been the backbone of software development, the things is that "API" is a ver loose term that refers to any kind of software interface, back in the 1990s it was very common to use the term to refer to what functions/methods were public from a library and thus able to be called, that is the real meaning of it. That is why you should specify in the title REST APIs

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

    Been waiting for something like this, thank you!

  • @KaletaKLT
    @KaletaKLT 10 หลายเดือนก่อน

    Incredible work done, Valentin! It was so easy to get through all of this. Huuuuge thanks!

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

    Great video, I have personally learnt a lot, continue bro

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

      Great 👍

  • @GeniDubovik
    @GeniDubovik 11 หลายเดือนก่อน +1

    Thanks for such a great course. I just wanted to point to some sort of flaky dealing in "Assignment 3 - Task 2" - The value of the "id" property matches the regular expression pattern: ^[A-Z0-9]{9}$. It seems that sometimes the "id" value could be with the hyphens like this (O0X_M9S8B) and this regexp won't match thus making a test fail. Maybe it would be great to adjust regexp for the future wanderers

    • @vdespa
      @vdespa 10 หลายเดือนก่อน

      Nice catch. That's on purpose. The API has a bug that appears only from time to time.

  • @DinaMicskei
    @DinaMicskei 4 หลายเดือนก่อน +2

    Hello! Are the assignments no longer available? they are missing from the main fork

    • @CoupleDream1
      @CoupleDream1 3 หลายเดือนก่อน

      Hey lady, Any other more sources to learn this tutorial?

  • @TariqAhmad-hw7up
    @TariqAhmad-hw7up ปีที่แล้ว +1

    Too good explanation of callback function

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

      Glad to hear, thanks!

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

    Thank you! It is an excellent course, I learnt a lot, I am trying to apply it to improve my testing and my knowledge. ;-)

  • @vladrileynavilys
    @vladrileynavilys 10 หลายเดือนก่อน +2

    Is the price now missing for each product? I dont see it in the response body right now. (Im at 2:34:08 "writing simple assertions against the response body")

  • @bereketeldesilasie
    @bereketeldesilasie 10 หลายเดือนก่อน

    That is an amazing course, Thanks!

  • @MortyPark
    @MortyPark 14 ชั่วโมงที่ผ่านมา

    Thanks for the video. I can only dedicate an hour a day to learning this program, and every day I have to register to get an API key and go through the setup process before starting the first assignment. Is there a way to save these settings to make the learning process quicker?

  • @aymanmalhattami
    @aymanmalhattami 6 หลายเดือนก่อน

    Awesome tutorial, thanks

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

    Please make a course about llm langchain huggingface vector database

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

    Thanks!

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

      Thanks for your support!

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

    Thankyou so much for the video it was helpful

  • @emcee19.05
    @emcee19.05 10 หลายเดือนก่อน +1

    @vdespa In Unit 1, Lesson 5, if I change the variable name from x-api-key to anything else, why does it return a 401? It still uses the api_key variable from the collection. Thanks!

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

      beacuse in his Api (on the server) he searches for x-api-key in the header response to validate it. If u change it to anything else, the api will not find the api key.
      e.g. sudo code for you to understand:
      his APi
      if (header.contains(x-api-key){
      const isvalid = validate(x-api-key)
      if(isvalid){
      return 200
      }
      }else return 401

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

    Thank you very much Valentine for this course. For just one api, I can perform multiple tests. For example, to check if each of the parameters are required, I can make each field empty to see if it will produce a 400 status code error. I can also perform additional manual test on just one api. So in total for one api, I can have like 6 manual tests. Can you please explain how I can automate it so that I won't have to repeat the process.

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

      You can automate this by writing tests, instead of doing them manually.

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

      @@vdespa Can you do a video on this?

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

      @@samsonuteh3186 Yes, this is it!

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

    Very good

  • @user-uz7cr4fg6l
    @user-uz7cr4fg6l ปีที่แล้ว +1

    Amazing video!

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

      Thanks!

  • @nikhilpatil9904
    @nikhilpatil9904 3 หลายเดือนก่อน

    Hi please share question set for api testing

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

    @vdespa I'm getting errors in Assignment 2, if I run individually it's getting passed but if I run from verify your work getting failed for almost 8 calls getting the below error, can you please help
    status > Get API status: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    products > Get all products: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    products > Get single product: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    clients > Register a new client: contains status code test | AssertionError: expected undefined to be an object

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

    Please post ready api automation tutorial😊

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

    great job!

  • @seththunder2077
    @seththunder2077 2 หลายเดือนก่อน

    Can somoene tell mei if this will work for python as well cuz he mentioned for JS at the very beginning

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

    Good job 👍

  • @MdShadmanSaeed
    @MdShadmanSaeed 3 หลายเดือนก่อน

    very nice

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

    Thanks

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

    please do a shopify liquid course

  • @wardsuleiman1640
    @wardsuleiman1640 6 หลายเดือนก่อน

    @vdespa, I'm unsure if this is the appropriate place for my question. If not, could you direct me to relevant resources?
    I have a legacy collection for a mobile application that requires test creation. The task involves testing the business logic through API testing, simulating the user journey by making API calls in a specific order, and ensuring the expected outcomes. However, as I dive deeper, the test script's code is becoming large and complex.
    My questions:
    Is API testing a suitable method for testing business logic where the order of the request matters and the requests are dependent on each othe?
    Is it acceptable to have large and complex code in test scripts, in other word whtat is a large and a complex test in API testing world?
    Could you recommend more advanced resources for such scenarios?
    Thank you.

  • @papa-lo5ej
    @papa-lo5ej หลายเดือนก่อน

    🎉🎉🎉

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

    how to get the postman badge

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

    Great thanks

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

    For some reason I cannot get my Badge although everything is working OK and I have done all my assignments. I would appreciate a little help on this

  • @aktar749
    @aktar749 10 หลายเดือนก่อน +1

    I see some people having trouble when Create a new order which is part of first assignment . Error is " Missing API key" Status: 402 Unauthorized. anyone has an answer to that or Mr valentine will honor us with an answer or explanation? Thank you.

    • @mRxmodule
      @mRxmodule 7 หลายเดือนก่อน +1

      Hi,
      I fixed by first create a new token(API key) with the POST Register a new client, than paste it to the Assigment#1 - POST Create a new order HEADERS like Key=x-api-key and the value is the newly generated API key.

  • @shrutiwavdankar2189
    @shrutiwavdankar2189 4 หลายเดือนก่อน

    Can I please get the valid api key to run the Create a New Order api

  • @user-fr3fy6dm4w
    @user-fr3fy6dm4w 10 หลายเดือนก่อน

    Hi valentin im getting stuck at assessment-create a new order api-its throwing bad request ...im doing the same steps as mentioned in the videos...plz let us know how to solve it....same issue is happening throughout the next set of assessments

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

    Hello, I tried to create a Fork for 1st assignment, but I couldn't select the workspace mentioned in the Video. I can only Select My Workspace, which doesn't have the API required to continue the assignment.

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

      Hello! If you followed step-by step through the video you should be able to select the workspace that was created by you earlier. Try to reproduce all steps one more time. And yes, your workspace can have the different name then author has.

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

    Please Flutter REST API Tutorial

  • @shrutiwavdankar2189
    @shrutiwavdankar2189 4 หลายเดือนก่อน

    Can some one please share the valid api key for the collection mentioned in the video

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

    Thank you for the course! Could you please use light theme next time?

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

    Where is up?

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

    Up😊

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

    Hello, I'm not sure why i got a fail in verify work request of assignment 4 that log "Product id is correct | AssertionError : expected undefined to deeply equal 1002", Can you help me for this?

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

      but i already comment some my code and all of them pass haha ( im so curious!! )

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

    What is the difference between pm.collectionvariable and pm.variable?

    • @mubarakabdulrazaq9241
      @mubarakabdulrazaq9241 7 หลายเดือนก่อน +1

      collectionvariable sets the variable to a collection scope, while variable just sets a variable within that code block

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

    I got no response about the badge, i submited the form 3 weeks ago, anyone got theirs?

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

    Create a new Order post api is showing an error "Missing API key", i first get requestion from ''REGISTER A NEW CLIENT" then the forked workspace the "create new order " is running error free,but when i duplicate and run it it is showing the same error in assignment workspace. What to do ?

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

      you can simply put in the Assigment - Create new order header the x-api-key : API KEY

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

    I don't have option 'Automate runs via CLI' in postman Runner tab, what went wrong?

    • @vdespa
      @vdespa 10 หลายเดือนก่อน

      Make sure you are in a private repo. Sometimes a public repo will hide this option (not sure why).

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

    Hey Valentino. Thank you for the amazing content. I got stuck on the assigment 1 due to the authentication. I don't understand why all requests don't need Autorization, but when I get to "Create a new order" I need to get the authorization from the parent "Order" (x-api-key). Seems that it is using 2 times the same key, but with different names, what makes it very confusing to me. Could you give me some tip, please? Thanks

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

      Typically when you are reading public data you don't need auth. But when you create new data, you do. For example, on Amazon you can browse the products without being logged in. But to place an order, you need to log in.

  • @AB-bu8ti
    @AB-bu8ti 6 หลายเดือนก่อน

    Assignment 2 instructions are missing or unclear/unhelpful.

  • @barbararodrigues4273
    @barbararodrigues4273 9 หลายเดือนก่อน

    Hello @vdespa I claimed my badge few days ago but until today I had no answer, can you help me?

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

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

      Thanks!

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

    Hi Valentin, I have getting Status 401 and error message saying : Missing API key" though I have generate API key from my profile and assign it to the postman_api_key under the Assignment 1 collection. What I am doing wrong .? Please suggest

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

      @suvechhabhadra6120 you need to add x-api-key in Assignment API request and add {{apiKey}} and add to header, hope this helps

    • @avaneeshshambhat5950
      @avaneeshshambhat5950 10 หลายเดือนก่อน

      @@adithyaaradhya9360 Hey there. Can you please explain a bit more. Even I am stuck in the same issue

  • @user-yd5wd6bn5l
    @user-yd5wd6bn5l ปีที่แล้ว

    Hi!
    ✅ Assignment #2
    Why am I getting this error
    status > Get API status: contains status code test | AssertionError: expected undefined to be an object
    Here is my script
    It looks good
    pm.test("status code is 200", function () {
    pm.expect(pm.response.code).to.eql(200);
    });

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

      Can you share a link to your workspace? Thanks!

    • @hm-shofiqurrahman1612
      @hm-shofiqurrahman1612 9 หลายเดือนก่อน

      @@vdespa getting same problem. how to solve please

    • @idalbertoricardocruz6322
      @idalbertoricardocruz6322 6 หลายเดือนก่อน

      @@vdespa getting the same issue, what I need to do? TIA

    • @michalhladik1172
      @michalhladik1172 2 หลายเดือนก่อน

      wrong folder. it should look like "Assignment #2/API requests/status/Get API status". replace /status/request_name with each folder

  • @idalbertoricardocruz6322
    @idalbertoricardocruz6322 6 หลายเดือนก่อน

    Min 2:02:13, when I try to create a new order, I get "error": "Invalid API key"

    • @bartoszpietrzyk7319
      @bartoszpietrzyk7319 6 หลายเดือนก่อน

      I'm facing exact same issue, do you managed to overcome it?

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

      Try to provide a valid API key.

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

    Pls only 1k plsssss

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

    hope this code reduces my 404 error 😢

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

    Oh hey this is what I do for a living lol

  • @basketballskills-ur7lc
    @basketballskills-ur7lc 2 หลายเดือนก่อน

    incase your looking for the resourse to folk just go to the profile of people that are watching the folked course by the top left concer of postman and folk there own folked coruse i no its confussing lol

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

    There was 999 likes and i became a hero!!!!!!

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

    First 🎉

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

    Course on "Trading for beginners" please Sir

  • @user-li9ds1gp6v
    @user-li9ds1gp6v 7 หลายเดือนก่อน

    What knowledge do i need to possess before watching the video

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

    congrats on 8ml

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

    OMG 🫵 Fantastic thank you 🙏 I have been needing to dive deeper into Postman

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

      You're welcome, thanks for your comment. Enjoy the course.

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

    @vdespa I'm getting errors in Assignment 2, if I run individually it's getting passed but if I run from verify your work getting failed for almost 8 calls getting the below error, can you please help
    status > Get API status: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    products > Get all products: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    products > Get single product: contains status code test | AssertionError: expected undefined to be an object
    FAIL
    clients > Register a new client: contains status code test | AssertionError: expected undefined to be an object

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

      You have to put the requests in subfolders, and all tests will pass.

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

      I"m also getting the same problem,plz help me

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

      @@cristiolteanu2831 yep this does the trick, thank you! I encountered the same issue - so as far as I understand on each assignment (I am on the second currently) you first perform the tasks in the initial collection (which is Valentino Artisan Coffee Shop); For the second Assignment after you complete the tasks (which are adding the status code 200 assertions to all requests) you then duplicate NOT every single request, BUT the whole folder including the requests - meaning you duplicate status, products, clients and orders folders - to Assignment 2 -> API requests folder. Don't forget to rename them to have the same names. Hope this helps. This is not very clearly underlined in the assignment description and can be easily omitted.

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

      @@rams2354 check the response above if you still have issues :)

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