HostMonitor v7.72
Operating System: Windos Server 2003
Platform: 64Bit server
Test Purpose:
If the web page has expected text existing in it then the test passes.
Problem:
This test is always failing, even though the text I am checking for does indeed exist. Am I doing something incorrectly, please?
Test Details:
I have included the test parameters below:
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 18/12/2008 19:05:39 -
;- Source file: C:\Program Files (x86)\HMBackup\20081013HostMonitorTests.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = Url
;--- Common properties ---
;DestFolder = Root\Live Assets\Live Projects\Live Website Monitoring\
Title = Grant Test on Google Page
Comment = Check for page contents. If The system is not accessible at the moment then send an alert.
RelatedURL =
ScheduleMode= Regular
Schedule = IFS Live Website Monitoring
Interval = 900
Alerts = Do nothing
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= No
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
URL = http://www.google.co.uk:80/
UrlUseMacros= Yes
is302ok = No
IgnoreUnknCA= Yes
Timeout = 90000
UseFrames = No
UseImages = No
CheckContents = contain
Expression = pages from the UK
CaseSensitive = No
WholeWordsOnly= No
ExprUseMacros = No
;-----------------------------------------------------------------------------
; Exported 1 items
Web page contents check is failing - please advise on this?
-
- Posts: 34
- Joined: Mon Apr 28, 2008 10:15 am
It works just fine on my system. Test status: "Host is alive"
Could you check page content using your web browser?
May be google provides different content depending on browser... What agent name have you selected on Misc page in the Options dialog (Options -> Misc -> Settings for URL test)?
Regards
Alex
Could you check page content using your web browser?
May be google provides different content depending on browser... What agent name have you selected on Misc page in the Options dialog (Options -> Misc -> Settings for URL test)?
Regards
Alex
-
- Posts: 34
- Joined: Mon Apr 28, 2008 10:15 am
We are using the same default option, evething works fine.
Could you please check page content using your web browser?
What version of Internet Explorer is installed on your system?
Could you try HTTP test method instead? HTTP test uses our own code and does not depend on Microsoft software.
Regards
Alex
Could you please check page content using your web browser?
What version of Internet Explorer is installed on your system?
Could you try HTTP test method instead? HTTP test uses our own code and does not depend on Microsoft software.
Regards
Alex
Hello Alex,
We are using IE7.0
By HTTP test method are you referring to "URL Request" test method, using service HTTP? This is what we are using this for the test.
We have imported the test included in the earlier posting in to HostMonitor 7.14 Beta installed on a Windows Server 2003 platform with Internet Explorer 7 installed and the test works fine. The Agent Name is also set to Mozilla/4.0 (compatible; MSIE 6.0)
For this setup, using either of the text below results in test passing:
1. <label for=cty> pages from the UK </label>
2. pages from the UK
We are using IE7.0
By HTTP test method are you referring to "URL Request" test method, using service HTTP? This is what we are using this for the test.
We have imported the test included in the earlier posting in to HostMonitor 7.14 Beta installed on a Windows Server 2003 platform with Internet Explorer 7 installed and the test works fine. The Agent Name is also set to Mozilla/4.0 (compatible; MSIE 6.0)
For this setup, using either of the text below results in test passing:
1. <label for=cty> pages from the UK </label>
2. pages from the UK
No. There are 2 test methods:By HTTP test method are you referring to "URL Request" test method, using service HTTP?
- URL test that allows you to check FTP, HTTP, HTTPS servers
- HTTP test that allows you to check HTTP services only
HTTP test uses our own code and does not depend on version of IE installed on the system. While URL test uses Windows wininet and winhttp DLLs
Is this the same Windows2003 system where HostMonitor 7.72 cannot check the page? or you are using different system?We have imported the test included in the earlier posting in to HostMonitor 7.14 Beta installed on a Windows Server 2003 platform with Internet Explorer 7 installed and the test works fine.
We have tested HM on system where IE 7.0 is installed. Everything works fine as well.
Could you please check page content using your web browser on the system where test fails (IE menu View->Source)?
Regards
Alex
-
- Posts: 34
- Joined: Mon Apr 28, 2008 10:15 am
This was on a different system.Is this the same Windows2003 system where HostMonitor 7.72 cannot check the page? or you are using different system?
The source is the same as on the different system, the source being:Could you please check page content using your web browser on the system where test fails (IE menu View->Source)?
<label for=cty> pages from the UK </label>
I had left the test running and now looking at the results after a few days it had started to pass. If I change the contents check from "pages from the UK" to "pages from the UK1" the test URL Request (HTTP) fails as expected, with message "bad Contents".
I will try the HTTP test "Internet Service Test" -> HTTP to check the performance.