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 Talk

3:30 p.m. – 4:00 p.m.

Shift-Left testing with Kubernetes

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

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

Cook up some fun with Kanban pizza

120-minute Workshop

10:30 a.m. – 12:30 p.m.

Superpower to empathize with our users

Equipment required

30-minute Talk

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

Lessons Learned from a Troubled Project!

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.