Playwright test step duration / response time over time
I have grouped my Playwright scripts into sections using test.step so that I can better represent what the human users would do. I would like to see the duration/response time of those steps over time. This way we can isolate which part of the workflow may be having issues and which team to contact about a potential fix.
When running these script locally I have have reporter save results to a JSON file, which is great for a few local samples.
How would I retrieve the step durations using the Checkly API?
Could there be a feature to detect the presence of the steps in the script and offer to chart the durations over time - sometime in the future?
In my examples here, the site is having issues with Login and the page that automatically loads after login for the user - just over 10 seconds in this sample.

Snippet of the steps from the JSON reporter:
"steps": [
{
"title": "00 DTNA Portal Home",
"duration": 2014
},
{
"title": "01 Fill in credentials",
"duration": 552
},
{
"title": "02 DTNA Portal Login",
"duration": 10825
},
{
"title": "99 DTNA Portal Logout",
"duration": 284
}
]
Log in to comment and vote
Comments1
Rikard Nilsson
Jun 19, 2024
Hi,
Thank you for your feedback! The use case here is clear. Currently, we don't support getting the test step duration using our API. We'll take this into consideration for future improvements, as well as improving our data visualization!
Thanks again and let me know if you have any additional questions or comments.
Regards,
Rikard