Search⌘ K
AI Features

Testing with SRTs

Explore the use of Simple Request Tests (SRTs) to validate the essential elements of your API interface. Understand how to create and run SRTs with tools like curl and Bash scripts to check your API's functionality quickly during development and after deployment. Learn why SRTs are a good starting point but require more detailed testing for complete validation.

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 ...