top of page
Home: Skills
Testing Microservices End-to-End in Isolation with API Contracts | Lewis Prescott | TestFlix 2022
The Test Tribe

Testing Microservices End-to-End in Isolation with API Contracts | Lewis Prescott | TestFlix 2022

Talk Takeaways: 1. The difference between mocks and API Contracts 2. How to code isolated end-to-end tests with Cypress & Pactflow 3. Benefits of using API contract stubs About The Talk: Testing in microservices can get tricky very quickly. Contract testing offers some ways to make Microservices Testing easier, quicker and less costly. Want to take your Microservices e2e testing to the next level? Want to deploy microservices with more confidence and move to continuous deployment? Then integrating contract stubs in to your end to end tests is for you. Using Cypress & Pactflow, I will demonstrate how you can run end-to-end tests with API contracts to provide more stable, easier to maintain and a more realistic test suite. #TestFlix #SoftwareTesting #APIcontracts #MicroservicesTesting About Lewis: Iโ€™m an experienced QA Lead at Cera Care (one of Europeโ€™s fastest-growing companies), having worked across different industries including Healthcare, Non-profit, Retail and PropTech. Working for companies such as ASOS during Black Friday sales mayhem, Zava delivering a safe and secure medical service to patients and Cancer Research UK enabling scientists to save lives through technology. I am also a course author on Test Automation University & Udemy, sharing my knowledge is a passion of mine. Connect To The Speaker: This video is of one of the Atomic Talks presented at #TestFlix- Global Software #Testing Binge, 2022. TestFlix 2022 had: - 3,375,282 Social Media Reach - 27,954 Social Media Interaction - 9,450 Social Media Likes - 976 Social Media Mentions - 61 Speakers - 14 Themes - 60 Atomic Talks - 14 Speaker Countries - 12 K + Registrations - 119 countries - 4000 + companies - 3500 + Attendees - 6000+ Messages shared on Event chat TestFlix 2022 Proud Sponsors: BrowserStack - ACCELQ - Opkey - PhonePe - GSPANN - LambdaTest - Virtuoso - Yubi - Testguild - Fasal - Virtualan - Liked the Talks at TestFlix? Check out our upcoming event Worqference, a workshop only testing conference, for more such learnings. Worqference:
JS Monthly #17: Lewis Prescott - Double up your component & integration tests with Supertest & Nock

JS Monthly #17: Lewis Prescott - Double up your component & integration tests with Supertest & Nock

This talk builds on my course for Test Automation University ( Using the power of mocking and the tool Nock. You can build component and integration tests with one set of scripts. I will show you how this is possible and also explain the difference between component and integration tests. In order to make your tests fast and build tests at the right level, use the power of mocking. The JS Monthly Meetup was organised by Aris Markogiannakis (JS Monthly host) and hosted by Prisma. โœจ Join the Prisma Meetup group here: Follow Lewis: Twitter: Next: ๐Ÿ‘‰ Check Previous video: Heavily Connected Data Applications - โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ“š Learn more about Prisma โ€ข Website: โ€ข Docs: โ€ข Quickstart: โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” โ“ Get help with Prisma issues โ€ข Slack: โ€ข GitHub: โ€ข Stackoverflow: โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ’ฌ Follow Prisma on social media โ€ข Twitter: โ€ข Instagram: โ€ข TikTok: โ€ข Facebook: โ€ข LinkedIn: โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ” Professional captions for your technical videos Prisma sponsors human-reviewed, professional closed captions for ANY video valuable to our community (for example, about: Node.js, TypeScript & Type Safety, Prisma, databases, etc). Get your FREE captions here: โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” โœ… Subscribe to Prisma's YouTube channel
Image by Safar Safarov


QA Lead at Cera Care (one of Europe’s fastest-growing companies). I talk about Contract API Testing: 99 minute workshops with Ministry of Testing, on Testers Island Discs and at any meetup that will have me.

If you want advice on how to get started with API Contract Testing, Contract Testing for Microservices, End to End Testing, Acceptance Test Driven Development or more services!



How to start API Contract Testing series

Testing microservices application is complex. Contract testing offers some ways to make testing in microservices easier. So why not start today. In this podcast I will chat to guests about the challenges they face in software working in microservices architecture.


Geekle Logo


selenium day logo


National Software Testing Conference Logo


Leeds Testing Atelier Logo



Home: Testimonials

I attended Lewisโ€™s 99 minute Contract Testing workshop run by the Ministry of Testing. I took away lots of practical knowledge that I used to inform our engineering teams test strategy. Lewis has that rare gift of being able to explain something pretty technical to an audience who might not be as technical - and not only that, but in a way that actually sticks.


What is API Contract Testing?

Contact me to help with this and much more:


  • How to start API Contract Testing

  • How to sell Contract API Testing to your team or company

  • Where to start with migrating Integration tests to Contract Tests

  • Test Strategy / Test Plans

  • End to End Testing Approach

  • Contract Testing Microservices Example






  • Twitter
  • LinkedIn

Thanks for submitting!

Image by Scott Graham

How do I implement Rest API Contract Testing?

Is Open API Contract testing overkill?

Home: Contact
bottom of page