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
  }
]

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

πŸ’‘ Feature Request

Tags

Browser Checks

Date

Over 1 year ago

Author

JJ Welch

Subscribe to post

Get notified by email when there are changes.