Hinweis: Die aktuelle German Testing Day Konferenz finden Sie hier!

Konferenzprogramm

Konferenzprogramm 2020

The power of mocking APIs

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

Shivani is a passionate QA Engineer who believes that knowledge sharing boost up all engaged parties and increases their confidence. It was summer of 2013 when Shivani and 'testing' met each other first time and are best friends since then. Holding rich experience in testing domain, she currently works as Senior QA Engineer with XING (the largest business network in German speaking countries). With hands-on in all layers of software testing ranging from UI(frontend), API and backend, functional, non-functional , mobile testing - API remains her all-time favourite.

As a certified scrum master, working in agile manner is always her approach. She believes in idea of spreading her findings about any 'new fancy stuff' she learns. She has worked with multiple international teams and brings forward idea of whole team contributing for quality. She's always up for conversation over email, linkedin, Xing , twitter or beer table :)
Shivani Gaba
11:20 - 11:55
Vortrag: Mi 2.2

Vortrag Teilen