# Timeout Handling in HTTP Monitor Request

**URL:** <https://community.dynatrace.com/t/timeout-handling-in-http-monitor-request/54116>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, synthetic-monitoring\
**Created:** [November 18, 2025, 2:16pm UTC](https://community.dynatrace.com/t/timeout-handling-in-http-monitor-request/54116 "2025-11-18T14:16:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh01](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rajesh01](https://community.dynatrace.com/u/Rajesh01)\
**Post date:** [November 18, 2025, 2:16pm UTC](https://community.dynatrace.com/t/timeout-handling-in-http-monitor-request/54116/1 "2025-11-18T14:16:31Z")

</div>

We are testing multiple endpoint requests defined in a HTTP monitor.

Some of the endpoints will take longer but will complete. The current hard limit of 60 sec is not suitable for us.

Alternatively, we are looking to handle this in post execution script and mark it as success in case this fails with timeout error.

“postProcessingScript”: "api.info(response.getStatusCode())

if (response.getStatusCode() == 0) {api.finish(true, \“Timeout treated as success”);}"

Also, the return code validation condition is set to \>=400 .

Still the HTTP request is marked as Failed because of the timeout. Any other alternative way to treat this as success and 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:** [December 1, 2025, 4:46pm UTC](https://community.dynatrace.com/t/timeout-handling-in-http-monitor-request/54116/2 "2025-12-01T16:46:46Z")

</div>

It’s only status codes that can be ignored in the way you’re trying; network errors, timeouts, etc can’t be ignored. This would be a [Product Idea](https://community.dynatrace.com/category/DynatraceProductIdeas)
