© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
K. DasCreate an Enterprise-Level Test Automation Framework with Appiumhttps://doi.org/10.1007/978-1-4842-8197-0_16

16. API Testing

Koushik Das1  
(1)
Miami, FL, USA
 

In the previous chapter, we learned how to run script or batch files from our test suite and looked at a few examples. In this chapter, I will show how, as an architect, you can design API tests. Let’s get started.

Testing REST API with Web Client

I have implemented the rest calls here using a web client API, as mentioned in Chapter 1. However, you can use any other approach, like the RestAssured, HttpURLConnection, or Unirest APIs. In HP QC integration, I have used the Unirest API.

Let’s create a ...

Get Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, ALM Integration, and Custom Reports with TDD and BDD Support now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.