Consumer-driven Contract Testing using Postman

  Рет қаралды 32,168

Valentin Despa

Valentin Despa

Күн бұрын

Пікірлер: 36
@vdespa
@vdespa 4 жыл бұрын
👉 Want to learn more about Postman? Check my complete Postman online course. vdespa.com/courses/?q=KZbin
@selvaraj6619
@selvaraj6619 3 жыл бұрын
Interesting to know and see how we can use postman for contract testing, a useful tutorial, thank you, Valentin.
@vdespa
@vdespa 3 жыл бұрын
Glad it was helpful!
@manish89arya
@manish89arya 2 жыл бұрын
I am a big fan of you .. Valentin :) You make things so simple !!
@vdespa
@vdespa 2 жыл бұрын
Thanks so much 😊
@CatherineKarena
@CatherineKarena 4 жыл бұрын
Really good topic to do, thanks Valentin. Much appreciated.
@vdespa
@vdespa 4 жыл бұрын
Thanks for watching.
@josephgonzalez9342
@josephgonzalez9342 4 жыл бұрын
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.
@modakthepuppy9794
@modakthepuppy9794 5 ай бұрын
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 5 ай бұрын
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.
@AlexanderHvastovich
@AlexanderHvastovich 3 жыл бұрын
Please do spring cloud contract testing series
@vdespa
@vdespa 3 жыл бұрын
Thanks for the suggestion. I will look into that.
@ricardodemp
@ricardodemp 3 жыл бұрын
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 жыл бұрын
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!
@parasvora3039
@parasvora3039 3 жыл бұрын
Informative tutorial Valentine, thanks. Can the presentation be shared?
@annarudych1216
@annarudych1216 2 жыл бұрын
awesome explanation! thank you 👍
@vdespa
@vdespa 2 жыл бұрын
Glad you enjoyed it!
@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 3 жыл бұрын
@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 3 жыл бұрын
Hi Christopher, which kind of runners do you have? I have used the shared runners from GitLab.com.
@afzalaiet
@afzalaiet 3 жыл бұрын
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.
@ttaylor9916
@ttaylor9916 3 жыл бұрын
Thanks!
@vdespa
@vdespa 3 жыл бұрын
You are welcome! Thanks for supporting this channel!
@karahtar
@karahtar Жыл бұрын
What would then be the differences between API tests and provider-driven contract testing?
@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?
@AliRaza-nl6tf
@AliRaza-nl6tf Жыл бұрын
Postman Contract Testing is free or paid?
@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. kzbin.info/www/bejne/gKvTd6aoj9OBetE
@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.
Don’t Do E2E Testing!
17:59
Continuous Delivery
Рет қаралды 158 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 17 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 93 МЛН
How does eBay utilize Contract Testing for their Microservices?
11:29
Software Developer Diaries
Рет қаралды 7 М.
Contract Testing using Pact | vodQA Chennai 2020
49:00
vodQA - a forum for software testing enthusiasts
Рет қаралды 11 М.
Contract Testing For Microservices IS A MUST
18:36
Continuous Delivery
Рет қаралды 30 М.
Learn JavaScript for Postman API testing - Full Course for Beginners
1:28:39
API Contract Testing | Postman Intergalactic
59:48
Postman
Рет қаралды 10 М.
Data-driven testing with different data sets for each request
16:48
Valentin Despa
Рет қаралды 16 М.
Microservices: Contract Testing Using PACT
44:49
GeekNight ThoughtWorks
Рет қаралды 30 М.