logo

Metrics as a First-Class Citizen in the E2E Testing Landscape

2022-05-20

Authors:   Jéssica Lins, Matej Gera


Summary

Metrics can be leveraged to improve end-to-end testing by externalizing the internal behavior of an application and asserting on the externalized information. This allows for more complex testing scenarios and better control over test scenarios.
  • Metrics provide performance insights about an application
  • Metrics allow for more detailed test assertions
  • Metrics enable better control over test scenarios
  • Metrics provide various extra data points about tests
  • Different types of tests can be applied using metrics, including benchmark tests
The speaker shared a personal story of pushing a new service to production and realizing the importance of metrics when she had no idea how her application was performing.

Abstract

Exposing metrics through the metrics HTTP endpoint is the de facto standard when it comes to exporting application metrics in the cloud native universe. But did you know this well-known pattern can be used for more than just collecting metrics? This talk will show how instrumenting applications can be leveraged to improve your experience with end-to-end (E2E) testing. If your application is already instrumented for collecting metrics, why not take it a step further and use the exposed data to bring your E2E testing to the next level? This has the enormous benefits of giving you detailed insight into the state of the tested application and allows for more complex testing scenarios, which are not possible without observing the behavior of an application from the inside. The talk will also describe how this framework has been employed in several open-source projects, including Thanos and Observatorium, and what benefits have been gained from the change.Click here to view captioning/translation in the MeetingPlay platform!

Materials:

Post a comment

Related work


Authors: Kemal Akkoyun, Bryan Boreham
2023-04-19


Authors: Richard Case, Anusha Hegde, Winnie Kwon, Avishay Traeger
2022-10-26

Authors: Srinivasan Parthasarathy, Shubham Chaudhary
2022-10-27

Conference:  Black Hat Asia 2023
Authors: Chrisando Ryan Pardomuan Siahaan, Andry Chowanda
2023-05-12