I'm doing a URL test and checking its contents.
I should use an expression as multiple statusses should be accepted as "Host is alive".
The text to search for is:
"topBandText":"All Services Operational"
It looks like Hostmonitor is not able to handle the double quotes in this string.
Surrounding them by single quotes does not solve the issue.
I cannot simply search for 'All Services Operational' as the webpage lists all possible statusses, so I need that "topBandText" in front of it to be sure it is its current state.
The ultimate expression should be something like this:
('"topBandText":"All Services Operational"') or ('"topBandText":"Minor service Outage"') or ('"topBandText":"System Performance Degraded"') or ('"topBandText":"System Under Maintenance"')
Other statusses can be classified as Bad.
Page I'm talking about: https://protimestatus.freshstatus.io/
URL test check contents for text with double quotes
Should work fine and as I see it works.It looks like Hostmonitor is not able to handle the double quotes in this string.
Surrounding them by single quotes does not solve the issue.
HostMonitor version?
Its too long expression for URL test.('"topBandText":"All Services Operational"') or ('"topBandText":"Minor service Outage"') or ('"topBandText":"System Performance Degraded"') or ('"topBandText":"System Under Maintenance"')
We will check and probably increase this limit.
Regards
Alex