Chapter 9Testing APIs

So far, we’ve focused on the sketch-prototype-build pattern to move from ideas to full implementation of your API. In this part of the book, we’ll focus on other important elements of designing and building great APIs, including the role of testing, securing, and deploying APIs. In reality, you’ll be dealing with these issues throughout the design and build process. But bringing up all these things at the beginning of the process makes for a confusing book! Instead, I opted to save these details for a bit later so that we could spend time working through them individually.

In this chapter, we’ll explore the world of API testing. We’ll start by taking a look at the goal of API testing and some basic principles ...

Get Design and Build Great Web APIs 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.