From the course: Robot Framework Test Automation: Level 1 (Selenium)

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

API

API

In this video, we're going to talk about testing APIs. Initially, I thought about maybe assuming that everybody already knows what APIs are and why we need to test them. But I decided to not make that assumption. So why test APIs? Modern applications are typically built with layers, so you wind up with one or more web clients, maybe a mobile application, maybe mobile web browsers. All of them are talking through this thing we call an API, which is basically just logical routines that are exposed on the public Internet that allow these various clients to get work done. So maybe there might be a Create Customer method exposed, or a Login method exposed, Edit Profile, View Orders, Log Out, those kinds of things. And then ultimately the API layer processes the request and takes action on a database in the back end. In this way we're centralizing the logic, so it only has to be written one time and multiple clients can take advantage of that. So if business comes along and decides they…

Contents