Summary
You have learned how to set up and use contract, performance, and acceptance tests. You know the only way to achieve consistency and alignment with your stakeholders is to periodically and automatically test your API. You also know what kinds of tools you can use to execute different types of tests. On top of that, you know the importance of having a well-defined API with a machine-readable document ready to be used. You know that acceptance testing is a combination of different types of tests. Finally, you know that being able to analyze and take action based on findings from tests is crucial to the success of your API.
You began this chapter by establishing what API contract testing is and how you can set it up and execute it. You then went on to learn about performance testing. You learned how to gradually increase the request load of your API to measure its scalability and responsiveness. You also learned about tools that you can use to set up contract and performance...