Testing against containers
A full testing regime across all stages of a DevOps life cycle is not in scope for this book. However, we will walk through the technicalities of performing basic testing to prove the environment is healthy and demonstrate putting a load on the overall application. We want to show the high-scale throughput we can achieve by adopting an event-driven architecture over others.
Functionality testing
We will set up a simple test using Postman:
- Create a new collection, which is simply a folder to store a group of related API requests that we can execute repeatedly.
- Next, create a new request. Set the method type as
POST
and set the request URL ashttp://localhost:5000/send
. - Select the Body tab, change the format to Raw, and enter an event message in the text area. I chose to use
This is a Postman test to our orchestrated environment
:
- Make sure...