Consumer-driven Contract Testing using Postman

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

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

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

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

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

    Interesting to know and see how we can use postman for contract testing, a useful tutorial, thank you, Valentin.

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

      Glad it was helpful!

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

    Really good topic to do, thanks Valentin. Much appreciated.

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

      Thanks for watching.

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

    I am a big fan of you .. Valentin :) You make things so simple !!

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

      Thanks so much 😊

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

    Thank you for the explanation of this topic. I've been trying to figure out how to implement CDC tests in Postman all week. While the schema validation doesn't quite work for this purpose, Postman still seems to be a good tool for CDC tests. Personally, I was only using contract tests to enforce the documented schemas in the API spc as the provider.

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

      You are welcome, thanks for watching and sharing your use-case.

  • @annarudych1216
    @annarudych1216 2 года назад

    awesome explanation! thank you 👍

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

      Glad you enjoyed it!

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

    Thanks!

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

      You are welcome! Thanks for supporting this channel!

  • @modakthepuppy9794
    @modakthepuppy9794 2 месяца назад +1

    Thanks Valentin that was a great video, however I have one question regarding changing the "firstName" typo. Can you elaborate as to what happens when the producer rectifies the typo ? Does the "consumer service" pipeline fail due to the contract ? and the producer has to collaborate with all the relevant consumers ?

    • @vdespa
      @vdespa  2 месяца назад

      If the contract published changes, we expect the pipeline to fail, because the API now has a different property and we need to be aware.

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

    Informative tutorial Valentine, thanks. Can the presentation be shared?

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

    Please do spring cloud contract testing series

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

      Thanks for the suggestion. I will look into that.

  • @ricardodemp
    @ricardodemp 3 года назад +2

    Great stuff Valentin!! Ask me a question: where do I find more materials about Consumer-driven Contract Testing using Postman?

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

      Thanks, Ricardo. There is not so much out there. As I have explained, there is not built-in support in Postman for this, so you can use them as you wish.

  • @Irfan-kf4hu
    @Irfan-kf4hu 3 года назад +1

    Awesome content Valentin. If I have to try what you were showing in the demo (the CI part), is there a GitHub repository I could download or is there any course particularly covering what you were discussing in the CI pipeline, the whole 9-yards of Docker and Postman API tests as well as the Billing contract test from your demo. I'm very interested in trying it out. Thank you!

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

    Thanks for this stuff. Just wanted to know if we can do it for POST/PUT or it is only for GET HTTP requests?

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

      Thanks for watching. You can use GET, POST, PUT, ... whatever you need.

  • @karahtar
    @karahtar Год назад

    What would then be the differences between API tests and provider-driven contract testing?

  • @luca_raveri
    @luca_raveri Год назад

    What if the request modifies the status of the database? In Java Spring, I can mock the repository layer, but it seems that I can't do it this way. So, if I perform, for example, a POST request, I'm going to add data to my database every time I execute my tests, and I definitely don't want this. Is there a way to fix this issue?

  • @christopherlim2957
    @christopherlim2957 2 года назад

    @Valentin Despa
    I am not sure if you already answered this question. But I tried doing exactly you did on this tutorial, but instead of java/gradle I did NestJS and stored in my gitlab repo registry. But for some reason, when I tried doing Docker inside Docker and run my test. I am getting Error Refused Connection, but in this video you did not got any error. Am I missing a step or something?

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

      Hi Christopher, which kind of runners do you have? I have used the shared runners from GitLab.com.

  • @AliRaza-nl6tf
    @AliRaza-nl6tf Год назад

    Postman Contract Testing is free or paid?

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

    Can you please add assertions and validation test for same response in this example, because whole response is in array ' [ ] ' notation..so please help me to write validation of each and every parameters in the response body.
    Thank you,

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

      Not sure how this is related to the video. Can you be more specific?

  • @Zack-ni3vz
    @Zack-ni3vz 4 года назад

    can you show us how to test api calls from certain websites using chrome on postman? so far i have learned to copy the information from certain api calls and duplicate it on the postman but its still confusing. can you give a quick walkthrough?

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

      Look at an introduction to Postman video. ruclips.net/video/JzpFsrZnNDo/видео.html

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

    Swagger was throwing me off as I was confusing it as an API of my Collection

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

      Interesting. I hope this clarified things a bit

  • @7s9n
    @7s9n Год назад

    I noticed a gay flag on your laptop 💻?

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

    Where does this necessary crap end.