Testing with SRTs

Learn how to test an API with SRTs.

We'll cover the following

What are SRTs?

An easy way to start testing our API is to focus on the interface itself with what we call simple request tests (SRTs). SRTs are a simple HTTP request we can run to validate that the minimal elements of the API are working as we would expect. And that’s how we use SRTs—to validate the API.

Examples of SRTs

Here are a few examples of SRTs used for testing an API that supports managing people’s contact information:

Get hands-on with 1400+ tech skills courses.