Technical requirements
The code examples for this chapter can be found at https://github.com/PacktPublishing/Writing-API-Tests-with-Karate/tree/main/chapter07.
You will require the following:
- The system and IDE setup we completed in Chapter 2, Setting Up Your Karate Project
- Postman to explore our mock example
- A MySQL database (if you do not have a local one, I will explain how to set up a free online instance)
We will first look at the topic of Karate hooks, which offer a simple way to react to specific events.