Redirect or POST to "press the button"

Hi,
my heartbeat (7.8.0) is stuck on page asking for "press the button", to redirect further. Is there any way to configure Heartbeat to get past the page? Output which I'm receiving is:

<!DOCTYPE html>
<html>
	<body onload="document.forms[0].submit()">
    <noscript>
		<p><strong>Note:</strong>Since your browser does not support Javascript, you must press the Continue button once to proceed.</p>
	</noscript>
	<form action="login" method="post">
	<div>
		
		<input type="hidden" name="RFA" value="PostTicket=true:PostParams=true:62fa1-a81b-4a72-6-9f0a6c:https://123.com/ABC/defg.php?func=otdsintegration.redirect&amp;NextURL=https%3A%2F%2F4fds0%2Edom1%2">
		
		<input type="hidden" name="fragment" id="fragment">
	</div>
    <noscript>
		<div><input type="submit" value="Continue"></div>
	</noscript>
	<script>
		if (window.location.hash) {
			document.getElementById("fragment").value=window.location.hash;
		}
	</script>
	</form>
	</body>
</html>

And my monitor is configured like this:

- type: http 
  id: page-monitor
  max_redirects: 5
  name: heartbeat

  enabled: true
  schedule: '@every 15s' 
  hosts: ["https://server:12345/serverisrunning.oho"]

  ipv4: true
  ipv6: true
  mode: any

  username: 'domain\user'
  password: '****'

  check.response:
    status: 200
    max_redirects: 5
    body: 'Running'

Hey @Rnx,

For this you may need synthetic monitoring, that allows you to simulate the navigation on a website. This was recently included as an experimental feature in Heartbeat. If you want to give it a try, take a look to https://www.elastic.co/guide/en/observability/7.10/synthetic-monitoring.html

1 Like

that's... interesting.
anyway, thanks for the advice, had no idea such a thing exists.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.