# How can I change the synthetic monitor script timeout?

**URL:** <https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [December 30, 2022, 2:43pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832 "2022-12-30T14:43:38Z")\
**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:** [December 30, 2022, 2:43pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/1 "2022-12-30T14:43:38Z")

</div>

Hi,

I record one end-to-end click path, it’s one business process. But when I playback the click path, it will display a “hard timeout” error. I know the script timeout is 5 minutes. I just want to know if I want to lengthen the timeout to more than 5 minutes. What can I do?

Can anyone give me some suggestions, please?

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [December 30, 2022, 5:21pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/2 "2022-12-30T17:21:45Z")

</div>

As it said in the documentation the Browser clickpaths are hard-coded to time out after 5 minutes.

By the moment is not possible to change it otherways.

[https://community.dynatrace.com/t5/Synthetic-Monitoring/1301-Hard-Timeout/td-p/125651](https://community.dynatrace.com/topic/125651)

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [January 5, 2023, 3:27pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/3 "2023-01-05T15:27:43Z")

</div>

Before increasing the timeout I would take a look at why the monitor is hitting the hard timeout. Are the pages loading as quickly as you expect? Have you added in waits that are not really needed? Often we can decrease the time a script takes to run by changing the waits. You can see the descriptions of the different wait strategies [here.](https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events#wait)&nbsp; **Wait for specific element to appear** &nbsp;or&nbsp; **Wait for next event** &nbsp;are usually good options to try in this scenario.&nbsp;  
That said, if you just have a really slow site and the monitor needs to navigate across many pages you may find you need to increase the hard timeout. We added an option to increase the hard timeout for Browser Monitors. It is only available in the API and you can find the documentation [here](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/synthetic-v2/synthetic-configuration-v2/put-configuration).  
bmMonitorTimeout - browser monitor execution timeout (ms)  
maximum:&nbsp;3600000  
minimum:&nbsp;60000

bmStepTimeout - browser monitor single step execution timeout (ms)

maximum:&nbsp;180000  
minimum:&nbsp;10000

---

<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:** [January 6, 2023, 9:47am UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/4 "2023-01-06T09:47:28Z")

</div>

Thank you so much for your suggestion! I will have a try by your suggestion:+1:

---

<div class="post-metadata">

**Author:** ![SachinJindal](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@SachinJindal](https://community.dynatrace.com/u/SachinJindal)\
**Post date:** [February 7, 2024, 2:56pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/5 "2024-02-07T14:56:55Z")

</div>

Hi [@HannahM](https://community.dynatrace.com/user/1433)&nbsp; is there recent change in&nbsp;bmMonitorTimeout for maximum value.. wanted to know more and why this has been decreased…

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [February 7, 2024, 5:02pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/6 "2024-02-07T17:02:55Z")

</div>

Yes, bmMonitorTimeout max has been decreased from 60 minutes to 15 minutes. After further analysis this timeout was found to be better overall. Are your monitors taking longer than 15 minutes to execute?

---

<div class="post-metadata">

**Author:** ![SachinJindal](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@SachinJindal](https://community.dynatrace.com/u/SachinJindal)\
**Post date:** [February 7, 2024, 8:50pm UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/7 "2024-02-07T20:50:41Z")

</div>

yes please we would need monitors to be able to run atleast 1 hour since we have long journeys and slowness in the system which usually takes 40-50 minutes..

Regards

---

<div class="post-metadata">

**Author:** ![danijela](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@danijela](https://community.dynatrace.com/u/danijela)\
**Post date:** [November 8, 2024, 9:41am UTC](https://community.dynatrace.com/t/how-can-i-change-the-synthetic-monitor-script-timeout/37832/8 "2024-11-08T09:41:01Z")

</div>

[@SachinJindal](https://community.dynatrace.com/user/52338)&nbsp;did you manage to get the synthetic running for 40-50min from private location?
