API Testing Cheat Sheet
Liudas Jankauskas
QA Team Lead / Executive board member at LTSTQB / Lecturer at Baltic Institute of Technology
These days, every tester knows what an API is and how to test it. At least, that’s what they say when you ask.
I started testing APIs back in ~2010, and the first time I publicly spoke about it was at the second Bugs'a'loud QA Meetup in 2014. How do I remember? I checked the BugsAloud website. Looking back now, that talk was average at best, but the topic is still just as relevant today.
Even now, I often see API testing done at a very surface level, especially when it comes to public APIs. Yes, logic and functionality are the main priorities - like any software, an API exists to solve a specific client problem.
But API testing shouldn’t stop at the obvious checks. Below, I’m sharing a quick API testing cheat sheet. While these might not be the most critical issues, they are important and can quickly expose deeper problems. Since most modern web and mobile apps rely on REST APIs, this checklist is focused on REST-style APIs.
? Security & Headers
? Data Handling & Input Validation
领英推荐
? Authentication & Authorization
? Response Codes & Handling
? Performance & Abuse Prevention
This is just a starting point, but I wanted to highlight how even a small API testing scope can quickly expand when you consider all the critical aspects beyond just functionality.
#API #SoftwareTesting #QA #TestingCheatSheet #RESTAPI #lengvasbudasismoktitestuoti #qaontime #testspread
Software Developer
3 周Nice summary - thank you. I am not sure about the "Performance" part. I personally like to see them covered in integration test scenarios but to be fair the article is just an overview and not an implementation document.
Very informative
Creativist ?? breaking & fixing stuff | QA engineer and business analyst
3 周A?iū, kad pasidalinote ??
IT Monitoring Solution Expert at SEB
3 周I would add, if possible - test during different times of the day. More a performance issue than a bug, but I'm sharing example from real life. API responds fast enough, but during peak load times it slows down so much, even up to the levels of set timeout.
QA Team Lead / Executive board member at LTSTQB / Lecturer at Baltic Institute of Technology
3 周https://www.bugsaloud.com/meetup-2-vilnius