End to end API testingλ︎
There are several tools for testing your API.
Tools | Description |
---|---|
OpenAPI (Swagger) | Provides live documentation of an API and ability to run API calls |
curl | Command line tool for talking to the web (client side) |
Insomnia.rest | HTTP and GraphQL toolbelt for debugging APIs (client side) |
Postman | Collaborative platform for API development |
Open API should be built into any API you build as it provides living documentation of your API as you develop, as well as a way for developers to test queries against your API.
curl is the classic command line tool for testing anything on the web. Its an excellent tool for one off tests or for writing a batch of tests in a script.
Insomnia is a great tool to help you debug your API and generate code for API calls in over 30 different programming languages.
Postman is aimed more at the corporate developer or someone dealing with a large set of APIs. It requires more setup although provides more features.