Summary
In this chapter, we looked at how to write performance tests using Karate and Gatling. We covered how to set up a Maven project using profiles so that we can use Karate tests together with Gatling simulations. Finally, we looked at the logs and reports that are generated in these test runs and what insights they can give us.
I hope this chapter has made clear what the combination of Gatling and Karate can do for us. Karate tests typically test the functionality of APIs, whereas Gatling covers the so-called non-functional test cases that are important for the user experience and stability, such as response times, resilience, and data transfer. It can also tell us how much load an application can handle and where performance adjustments need to be made in a system.
This concludes our journey through the world of Karate tests. I hope you were able to learn a few things and apply what you learned to your own projects. As I said before, it is impossible to cover all facets...