# Is the total duration time equal to the total execution time for the browser monitor?

**URL:** <https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583>\
**Category:** Synthetic Monitoring\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [May 4, 2023, 3:05am UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583 "2023-05-04T03:05:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quirina](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Post date:** [May 4, 2023, 3:05am UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/1 "2023-05-04T03:05:46Z")

</div>

Hello, I encountered one issue for one couple of days. Our one synthetic monitor is often failed due to hard timeout error. But I checked each step of this monitor, The sum of all the step total duration it less than 5 minutes. But the monitor failed. I checked the failed step, there’s no any useful information. So I have some questions:

1) Is the total duration time for all steps equal to the total execution time of this synthetic monitor?

2) We test the application and found the total duration is within 5 minutes. But the monitor failed. So, does anybody knows how I can get to know if the issue is due to Dynatrace cloud service issue or not?

 ![Quirina_0-1683169460677.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5ccba8a27817cf10e66a1a9fbd1b7f7c98b6ecca.png)

 ![Quirina_1-1683169519632.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/5/25d93bb6461cd89a1f9c44b8d6abefebff0a3811.png)

The monitor url:

https://{environmentid}.live.dynatrace.com/ui/browser-monitor/SYNTHETIC\_TEST-16ACC153BFCEA453?visiblepart=errors&gtf=-7d%20to%20now&gf=all

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [May 4, 2023, 10:22am UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/2 "2023-05-04T10:22:52Z")

</div>

1. [**Total duration**](https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/general-information/synthetic-calculations#key-performance-metrics)&nbsp;is calculated as a summation of the&nbsp; **User action duration** &nbsp;of the load and XHR actions in a monitor.  
**Execution duration** can be worked out by checking the Start time and end time. As you see the execution duration for the execution in your screenshot is 5 minutes 2s.&nbsp;  
 ![ExecutionDuration.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/e/de46d107d875ee77a10e8a637e575fc5be1f4cb3.png)
2. Without looking at your monitor, I don’t know what is causing this behaviour.&nbsp; What waits are you using? Are there many that wait for specified period of time? If so, I would try to change them to wait for next event or wait for a specified element. Where are you testing from? Are you near the data centre? If you test using a public location near your datacentre does that affect the timings?  
If you would like your monitor investigated, please create a chat.

---

<div class="post-metadata">

**Author:** ![Quirina](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Post date:** [May 4, 2023, 3:24pm UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/3 "2023-05-04T15:24:14Z")

</div>

Hi HannahM,

Thank you for you reply.

For the 2nd pont. Let me give you more detailes.

_ **What waits are you using?** &nbsp;_

There is&nbsp; 31 events totally in our monitor. The event type and its related step count is as below:

Wait for page load completey : 3

All the other events are input step.

Wait for background network activity :5

Wait for next event: 17

Wait for specific time : 2 (one for 15s and another for 20s)

_ **Where are you testing from?** &nbsp;_

- This monitor is executed on your cloud service, not our localhost.

![Quirina_0-1683213509742.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3d8dfeab6a9d90dbf4d36078c51e0711cfe032e5.png)

Actually, I created one online chat but not get the accurate reply.

On the other hand, our developer did some code chanages for the 3rd party components according to dynatrace monitor result. But the availability isn’t up but down and even down to 0% from yesterday.&nbsp; We can’t get any useful information from the dynatrace. It just give us hard timeout error. We’re so struggling with it.&nbsp;If anyone can help solve this problem, we would be grateful

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [May 4, 2023, 3:38pm UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/4 "2023-05-04T15:38:30Z")

</div>

Thanks Quirina. ok, so the waits seem ok.

I was more womdering where you are playing back locally from, as you said the site is very quick. Are you also based in Shanghai?  
Can you check the waterfalls for each event? Are there any failed or pending resources that you are not interested in? If so, can you block them in the Advanced setup?

---

<div class="post-metadata">

**Author:** ![Quirina](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Post date:** [May 4, 2023, 3:51pm UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/5 "2023-05-04T15:51:55Z")

</div>

Thanks for your confirmation. I checked all the executed steps. On the 12th step, there are two 3rd party components were pending. But the 12th step executed successfully every time.&nbsp; And the monitor will be failed on 24th step nearly every time and without pending or timeout request. So, Could you check or restart your cloud service if there’s no another solution for this issue?

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [May 4, 2023, 4:18pm UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/6 "2023-05-04T16:18:51Z")

</div>

The monitoring is failing with a hard timeout, the timings of every event count towards that, os if you can speed up the monitor then that should help here.

We will switch over players next week when we update to 1.266. So all the machines and services will be restarted.

---

<div class="post-metadata">

**Author:** ![Quirina](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@Quirina](https://community.dynatrace.com/u/Quirina)\
**Post date:** [May 5, 2023, 2:58am UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/7 "2023-05-05T02:58:14Z")

</div>

Thank you for letting me know the latest progress. Could I know the specific time when you’ll restart the services? Because we’re doing general dynatrace issue analysis, if I can know the specific time, it will be helpful for us to compare the performance before and after the service restart. I’d really appreciate it.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [May 5, 2023, 8:08am UTC](https://community.dynatrace.com/t/is-the-total-duration-time-equal-to-the-total-execution-time-for-the-browser-monitor/39583/8 "2023-05-05T08:08:01Z")

</div>

If you ask on chat, they will be able to check when the version changed. I expect this would be on Tuesday or Wednesday. As you can imagine, there are multiple servers for each public location so the update will be spread over time, but we can see in the execution logs, exactly which version player was used.
