How write API Tests with Postman in 3 easy steps (PART 3/3)

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024

Комментарии • 36

  • @vdespa
    @vdespa  4 года назад +2

    👉 Want to learn more about Postman? Check my complete Postman online course.
    vdespa.com/courses/?q=RUclips

  • @vismitchavan6280
    @vismitchavan6280 3 года назад +1

    All QA analysts loved this❤💯

  • @jobeedrost
    @jobeedrost 5 лет назад +1

    Just started my new internship and this is going to help a lot! Thanks!

    • @jobeedrost
      @jobeedrost 5 лет назад

      @@vdespa Thanks man, it's going really well so far! Thanks again for all helpful videos you do!

  • @tracyd359
    @tracyd359 3 года назад +1

    it's very helpful for me to understand "Test" part in postman. How to write "test" in postman is my weakest part for using postman as a QA analyst to test API. Thank you very much for your tutorial video,

    • @vdespa
      @vdespa  3 года назад

      Glad it was helpful!

  • @imrsk
    @imrsk 5 лет назад +1

    You are an amazing teacher. Very Helpful.
    Thanks a lot, brother.❤❤❤

  • @enriquequintana9274
    @enriquequintana9274 3 года назад +1

    Estoy iniciando con POSTMAN y este tutorial ha sido de gran ayuda.

    • @vdespa
      @vdespa  3 года назад +1

      ¡Gracias por mirar! Por favor, suscríbase para recibir más tutoriales.

    • @enriquequintana9274
      @enriquequintana9274 3 года назад

      @@vdespa Estoy suscrito desde el primer día que te encontré, muchas felicidades tienes un gran canal

  • @avinashbaburavi
    @avinashbaburavi 4 года назад +1

    Very informative and goal oriented teaching. Thanks for suggesting tips as well, totally liked your videos. Cheers!

    • @vdespa
      @vdespa  4 года назад

      Awesome, thank you!

  • @JD-ou7ht
    @JD-ou7ht 5 лет назад

    Thanks. It is very explainatory & simple to follow

  • @swatisonawane5496
    @swatisonawane5496 5 лет назад

    i have not seen good amount of javascript anywhere, but its very nice..Thanks!!!expecting many more to come

  • @HiteshPatel-jf7id
    @HiteshPatel-jf7id 5 лет назад

    Very easy and understandable video. Thanks.

  • @pratikborhade2600
    @pratikborhade2600 4 года назад +1

    Nice, thank you so much. Highly appreciate. Your channel has been subscribed

    • @vdespa
      @vdespa  4 года назад

      Thank you very much! 👍

  • @DannyWensveen
    @DannyWensveen 4 года назад +1

    Thank you very much, amazing!

    • @vdespa
      @vdespa  4 года назад

      You are welcome. Thanks for your comment.

  • @viacheslavstarusev1724
    @viacheslavstarusev1724 6 лет назад

    Thanks a lot !! Very simple explanation and very useful!!!
    I have subscribed for your channel!

  • @krishnapriyanka8596
    @krishnapriyanka8596 4 года назад +1

    I watched your videos and now understood how to write tests for GET and POST methods. Can we write tests for DELETE as well?

    • @vdespa
      @vdespa  4 года назад

      Of course. The principle is still the same.

    • @krishnapriyanka8596
      @krishnapriyanka8596 4 года назад

      @@vdespa Please try to make a video if you get time

  • @chakerfellari1762
    @chakerfellari1762 5 лет назад

    Thanks Bro

  • @shivamrai6638
    @shivamrai6638 6 лет назад

    thanks ,awesome and impressive

  • @ОлександрАтаманюк-ь2н

    Hi, can you explain, why you recommended learning ES6 instead of the usual JS?

    • @vdespa
      @vdespa  2 года назад +1

      I find the code easier to write and read.

  • @maheshjoshi4160
    @maheshjoshi4160 6 лет назад

    Thanks a lot

    • @maheshjoshi4160
      @maheshjoshi4160 6 лет назад

      Please make videos on katalon studio if you can this is new tool work on top of selenium. Also if you know any resources to learn basic programming as Tester for JavaScript and java please let me know thanks a lot

    • @maheshjoshi4160
      @maheshjoshi4160 6 лет назад

      Valentin Despa that will great big help thanks a lot

  • @KieranTheCreator
    @KieranTheCreator 5 лет назад

    Nice

  • @pinoytamiyamodeler3597
    @pinoytamiyamodeler3597 5 лет назад

    nice tutorial.. :)

  • @kity010
    @kity010 5 лет назад

    httpbin.org is not working for me.. where else i can get some end point to practice more assertion. pls share some link for same

  • @marcgrabowski9533
    @marcgrabowski9533 4 года назад +1

    You use a PUT to pass x-www-form-urlencoded data in the body of the request, and in the JSON returned, the header information actually shows "Content-Type": "application/x-www-form-urlencoded" on the Body tab, but in the Headers tab, it shows application/json. Now, I understand that the test as written is looking at the value of the Content-Type of the "Response Header", not the "Request Header" (or even more preferable the header Content-Type defined in the "Response Body"), but the whole idea of using the x-www-form-urlencoded formatted data in the first place is lost when your test is not actually testing for that type of content. This is confusing at best, and you don't explain the difference. May I suggest adding another short segment to your video to demonstrate modifying the snippet to test for the Request Header as well, like so...
    pm.test("Content-Type is present", function () {
    pm.expect(pm.response.headers.get("Content-Type")).to.eql('application/json')
    pm.expect(pm.request.headers.get("Content-Type")).to.eql('application/x-www-form-urlencoded')
    });
    This in my opinion would round out the video to actually check for the content type of the concept introduced at the beginning of the video, and as a bonus, show how to further modify the snippets to be useful in more ways. I am very interested in your thoughts about my commnet and look forward to your response.
    Great work on these videos Valentin. I'm a fan! :) Keep up the awesome work!

    • @vdespa
      @vdespa  4 года назад

      Thank you for your constructive feedback, Marc. Most of the time the tests are targeted toward the response, not the request.