|
View previous topic :: View next topic |
Author |
Message |
gorisdean
Joined: 20 Jun 2012 Posts: 22
|
Posted: Fri Jul 02, 2021 4:02 am Post subject: URL test check contents for text with double quotes |
|
|
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/ |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Jul 02, 2021 11:19 am Post subject: |
|
|
Quote: | 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. |
Should work fine and as I see it works.
HostMonitor version?
Quote: | ('"topBandText":"All Services Operational"') or ('"topBandText":"Minor service Outage"') or ('"topBandText":"System Performance Degraded"') or ('"topBandText":"System Under Maintenance"') |
Its too long expression for URL test.
We will check and probably increase this limit.
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Jul 05, 2021 8:14 am Post subject: |
|
|
We have update.
if you are using latest HostMonitor v.12.90, please contact support, we will provide link to new version
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|