SIGiST Summer Conference 2023 | Assert performance metrics during the functional testing

preview_player
Показать описание
An introduction to the concept of the Timings API that has been developed by GoDaddy. Most testing teams follow a CI/CD process where Selenium is commonly used for test automation. We should realize that the Selenium WebDrivers provides access to the same APIs as real browsers, including the widely supported W3C performance API. Using Timings API, we can insert some JavaScript code into the WebDriver object, performance data can be collected and posted back to the web service. The response from the web service includes a boolean field that testers can use for assertion - just like they would with functional checks! The field indicates whether the performance was above/below the baseline.
Рекомендации по теме