# Private Synthetic Time increase

**URL:** <https://community.dynatrace.com/t/private-synthetic-time-increase/40795>\
**Category:** Synthetic Monitoring\
**Tags:** private-synthetic-locations\
**Created:** [July 20, 2023, 8:04am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795 "2023-07-20T08:04:31Z")\
**Posts on this page:** 15\
**Page:** 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:** [July 20, 2023, 8:04am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/1 "2023-07-20T08:04:31Z")

</div>

Is there any way to increase the timeout beyond 180 Sec from Private location? Our Application Page load is too slow.

Thanks

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 20, 2023, 9:01am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/2 "2023-07-20T09:01:55Z")

</div>

Hi,

Are you talking about a Browser clickpath event?

Best regards

---

<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:** [July 20, 2023, 11:36am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/3 "2023-07-20T11:36:34Z")

</div>

No, 180s is the maximum timeout for Browser Monitor event. The only way to wait longer would be to use a timed event for the 1st event and then have a 2nd event after it that wait for whatever change you need to occur on the page to move on.

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 20, 2023, 3:15pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/4 "2023-07-20T15:15:19Z")

</div>

What about JS code? I could works maybe

> function sleep(ms) {  
> return new Promise(resolve =\> setTimeout(resolve, ms));  
> }
> 
> async function demo() {  
> for (let i = 0; i \< 5; i++) {  
> console.log(`Waiting ${i} seconds…`);  
> await sleep(i \* 1000);  
> }  
> console.log(‘Done’);  
> }
> 
> demo();

---

<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:** [July 21, 2023, 12:17pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/5 "2023-07-21T12:17:22Z")

</div>

How this code would help ? lets say i have a Button which is click on Next&nbsp; and need to wait until page is loaded which is taking 4 mins.

Thanks

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 21, 2023, 12:42pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/6 "2023-07-21T12:42:05Z")

</div>

step 1. click on button  
step 2 in JS wait for 5 min and validate that you got some xpah/dom loaded, set assert  
step3,4,5 next logic

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 21, 2023, 12:45pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/7 "2023-07-21T12:45:34Z")

</div>

BTW you are in private location, set desired timeout in config:

> **[Synthetic configuration API v2 - PUT configuration](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic-v2/synthetic-configuration-v2/put-configuration)**
>
> Update the configuration of Synthetic monitoring via the Synthetic API v2.

```auto
{
    "bmMonitorTimeout": 1200000,
    "bmStepTimeout": 240000
}

```

---

<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:** [July 21, 2023, 12:49pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/8 "2023-07-21T12:49:25Z")

</div>

does Steptimeout allow more than 180 sec on private location?

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 21, 2023, 1:38pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/9 "2023-07-21T13:38:22Z")

</div>

there is my config above - 240 sec

---

<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:** [July 21, 2023, 2:05pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/10 "2023-07-21T14:05:00Z")

</div>

getting an error with 240 , seems they have validation which wont allow beyond 180.

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

“path”: “bmStepTimeout”,  
“message”: “Validation failed. Value out of range.”,

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 21, 2023, 3:07pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/11 "2023-07-21T15:07:15Z")

</div>

You can ask support/CSM, maybe you have some restriction on account level

---

<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:** [July 21, 2023, 3:39pm UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/12 "2023-07-21T15:39:11Z")

</div>

[@HannahM](https://community.dynatrace.com/user/1433)&nbsp; any comments on above?

Thanks

---

<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:** [July 27, 2023, 11:43am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/13 "2023-07-27T11:43:34Z")

</div>

This would not work as the hard timeout for an event (step) is 3 minutes)

---

<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:** [July 27, 2023, 11:44am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/14 "2023-07-27T11:44:09Z")

</div>

180s is the maximum timeout for Browser Monitor event. The only way to wait longer would be to use a timed event for the 1st event and then have a 2nd event after it that wait for whatever change you need to occur on the page to move on.

---

<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:** [July 27, 2023, 11:45am UTC](https://community.dynatrace.com/t/private-synthetic-time-increase/40795/15 "2023-07-27T11:45:30Z")

</div>

180s hard timeout per event is a platform limit. I see that Slawa was able to increase it which is odd, as I cannot find any internal documentation referring that being allowed.&nbsp;  
Please use the option I suggested where you break the wait across 2 events instead
