SIGS DATACOM Fachinformationen für IT-Professionals

German Testing Day 2020

Die unabhängige Konferenz zu Software-Qualität
Frankfurt am Main, 01. - 02. September 2020


Vortrag: GTD 4.2
Datum: Mi, 02.09.2020
Uhrzeit: 11:20 - 11:55

The power of mocking APIs

Uhrzeit: 11:20 - 11:55
Vortrag: GTD 4.2


Struggling to test failure cases like receiving an invalid response , 5XX errors and so on? Having flaky tests due to slow API responses?
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?
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.
If you are less familiar with mocks & want to gain more insight, join this talk.
In this session, I will explain how to mock APIs using Wiremock. With real life example application, we'll explore how  to handle complicated scenarios and formtesting 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.

Target Audience: Developers, testers, test managers, decision maker
Prerequisites: Basic Knowledge of APIs
Level: Advanced