Challenge: Today, performance verification is often a manual task overseen by performance engineers that start performance tests, monitor the execution, and evaluate the test results. However, this approach is cumbersome when it comes to microservice environments where the sheer amount of microservices and tests for them cannot be tackled in a manual approach.
Keptn helps automating your tests by having Keptn triggering the test execution and evaluating the result of these performance tests. The result can then be automatically processed or presented in the Keptn Bridge to take further decisions. You can even expand this use case by letting Keptn deploying new versions of your applications to a test environment, succeeded by triggering and evaluating the tests.
The following image shows the general process of how Keptn is providing continuous performance verification. An underlying core concept for this process it the SLO/SLI validation as explained in Quality Gates.
Keptn gets triggered by an external event.
Keptn deploys the new version of the application that should be tested. (This is an optional step and can also be skipped if you have already set up this workflow.)
Keptn triggers the execution of the tests by having integrations with multiple testing tools.
Keptn fetches the results of the test and service-level indicators (SLIs).
Keptn evaluates and scores the test execution as well as the service-level indicators (SLIs) based on service-level objectives(SLOs).
Finally, the performance verification of the tests is then returned as a result back to the user.