The Power of Mocking APIs - Shivani Gaba

-
00:46:27
Description:
Blocked because the API you depend on doesn’t exist yet or isn't completely ready? Facing trouble to test certain scenarios due to a lack of control over third-party APIs?
Struggling to test failure cases like invalid responses or 5XX errors? Frustrated by flaky tests due to slow API responses?
These are some common problems we regularly encounter. We cannot rely on slow APIs that 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: API mocking.
If you are less familiar with mocks and want to gain more insight, join this talk.
In this session, I will explain how to mock APIs using Wiremock. Using a real-life example application, we’ll explore how to handle complex scenarios and form an effective testing strategy. Join this session to gain insights on how, when, and—most importantly—why we should mock APIs. Together we will discover 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, you will have full access to the example application used during the talk for trying out mocking for themselves :)
Previous Lesson:
Next Up:
-
Tester's Guide to Managing Biases - Lina Zubyte00:50:57
-
A Lean Approach to Sharing the Testing - Ali Hill00:42:35
-
Voice Is a New Frontier! Testing next Generation Interfaces - Lucian Adrian Stroie00:44:51
-
Unmasking Security: Seeing Through the Eyes of an Attacker - Saskia Coplans00:50:06
-
Test Automation as a Service Team - Jurian Jilderda & Jarsto van Santen00:45:14
-
Embracing Leadership: My Journey to Stop Fearing and Start Leading - Pedro Gonzalez00:49:15
-
Resilience Testing! Why Should You? - Geoffrey van der Tas00:53:59
-
Gold Is in Your Trash Can - How to Maximize Feedback’s Value from Testing - Alexandre Bauduin00:47:37
-
99 Second Talks - TestBash Netherlands 202000:30:09
-
TestRail at TestBash Netherlands 202000:14:23
-
De Agile Testers at TestBash Netherlands 202000:02:31
-
RisQIT at TestBash Netherlands 202000:00:44