A Guide to Ensuring the Quality of REST, SOAP, and GraphQL APIs
APIs and web services continue to skyrocket in use – connecting application functions and data, integrating different systems, and finding new ways for businesses to monetize. With such a heavy reliance on these interfaces, how do you make sure they’re always working?
Functional testing of APIs (both internal and external) plays a critical in ensuring that no bugs are released into production. But just simply hitting an endpoint isn’t enough – if you really want to be confident that your API can stand up to any scenario in the wild, you need to test it thoroughly by adding assertions, driving tests with data, and automating in a CI/CD pipeline.
By the end of this eBook, you should have a few new pieces of knowledge under your belt:
- How to run tests against an API
- Adding assertions
- Changing environments
- Debugging tests
- Reporting on the results