JUNE 21 – 25, 2020
CHICAGO, ILLINOIS

FROM BERLIN TO CHICAGO

Join North America's greatest Agile Testing Festival!

The power of mocking APIs

This talk will explore how, when and above all why to mock APIs.

Blocked because the API you depend on doesn’t exist yet or isn’t completely ready? Facing trouble to test various scenarios due to lack of control over third-party APIs? Struggling to test failure cases like receiving an invalid response , 5XX errors and so on? Having flaky tests due to slow API responses?

These are some very common problems we encounter. We cannot rely on slow APIs, which provide a very narrow range of responses. So how can we test effectively in such situations? Is there any feasible solution available? Fortunately, there is: mocking of APIs.

In this session, I will explain how to mock APIs using Wiremock. With a real life example application, we’ll explore how to handle complicated scenarios and form testing strategy. Join this session to gain insights on how, when, and most importantly why we should mock APIs. Let’s find together how development and testing can benefit from mocks.

Remember, “If API testing is the king, mocking APIs is the queen!”

Please note: At the end of this talk, all attendees will get access to the example application used during talk for trying out the mocking themselves.


More Related Sessions


30-minute New Voice Talk

4:15 p.m. – 4:45 p.m.

How to Lead a Team

45-minute Keynote

5:00 p.m. – 5:45 p.m.

Struggling to Ship?

Combo-Session: 30-minute Talk & 75-minute Workshop

2:30 p.m. – 4:45 p.m.

Canopy or Cypress? Learn Both and Decide for Yourself

Equipment required

Your privacy matters

We use cookies to understand how you use our site and to give you the best experience on our website. If you continue to use this site we will assume that you are happy with it and accept our use of cookies and Privacy Policy.