7

Test Automation for APIs

An application programming interface (API) helps two systems interact with each other over the internet by implementing a set of definitions and protocols. APIs help tremendously to simplify the design of software systems and assist in opening up access to the system while maintaining control and security over calls being made. APIs primarily act as intermediaries between various parts of the application as well as with external integrations.

There are three main kinds of API architectures—namely, REST, RPC, and SOAP. Each one of them has its pros and cons. Diving deep into the types of APIs and their architectures is out of the scope of this book. Instead, we will be learning about testing Representational State ...

Get Test Automation Engineering Handbook 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.