While using the javascript function to add custom timers to our tests I came across the results shown below.
This is the first time I've seen the start and stop icons appearing within the timeline itself. These are not auto timer results that are being shown. These are user defined timers.
The site is using angular.js which makes me think is part of the reason the results are showing up like they are.
Does anyone have an idea as to why the timeline is like this?
Answer by Allan S. ·
Hi Connor. This page may help you if you haven't looked at it yet:
User-Defined Timers
Answer by Connor G. ·
Hey Allan,
Thanks for the response, but the issue isn't with setting timers.
The problem here is that events are being put under a custom timer even though their time lies outside the timer start and end time. In my second example I would only expect to see events that are within the start time (12.5s) and the end time (17s).
Answer by Peter K. ·
Hi Connor,
as far as I've understood (dev will correct me if I'm wrong), the browser agent will still record all events. The point of the user defined timers is to have custom groupings in the "Browser Performance Report" and "Test Automation" dashlets. It doesn't change the purepaths that get created.
So, to have events in only a start / stop timer bracket, you'd need to define more timers to cover all your executions. Best regards,
Peter
JANUARY 15, 3:00 PM GMT / 10:00 AM ET