Next Level API Automation thumbnail

Next Level API Automation

APIs are an essential part of an increasingly large number of applications that we use daily. APIs enable applications to exchange data and functionality easily and securely. As testers, we want to ensure that our APIs do not break and provide the expected functionality. We can automate our APIs to speed up the rate at which our checks are done. When automating APIs having tests to ensure that your API returns the correct message and status is great, however, do you test for and automate the negative and edge cases for your APIs? In this talk, I will show you how to get started with automating APIs, a checklist of things needed to automate an API, automate negative tests for your API as well as check that your APIs handle errors appropriately, follow the specified schema, and don't reveal data that it shouldn’t or has certain security gaps. I will also share how to decide which tests you should be automating for your API and how to automate workflows for an API.

 

API automation executes faster than UI automated tests and I have found it to be more straightforward to write. Join me to start creating these quick automated tests using Supertest (a JavaScript API Testing Framework) for the boundaries of your API. The tips that I will share can be applied to any framework that you use to automate APIs.


Comments

Sign in to comment
Explore MoT
Leading with AI - The London Edition image
Fri, 19 Jun
A half-day educational experience to navigate the world of AI
MoT Intermediate Certificate in Test Automation image
Elevate to senior test automation roles with mastery in automated checks, insightful reporting, and framework maintenance
Into The Motaverse image
Into the MoTaverse is a podcast by Ministry of Testing, hosted by Rosie Sherry, exploring the people, insights, and systems shaping quality in modern software teams.
Subscribe to our newsletter