Could not find any reference in FAQ's or past issues,
Header Check Content returns Bad Contents if hypertext tags are included in the text to be checked.
Specifically, doing an HTTP Test to URL https://blackboard.byu.edu with Download nested frames and Download images checked, and Check header checked and set at "should contain", with the string <title>Blackboard Learning Systems™(Release 6)</title>
as the text to check.
When I select Test, it returns Test status: Bad contents, Error code: 0,
The help manual indicates hypertext tags can be included.
What am I missing?
Header Check Content returns Bad Contents if hypertext tags
-
- Posts: 22
- Joined: Thu Sep 16, 2004 12:35 pm
- Contact:
-
- Posts: 22
- Joined: Thu Sep 16, 2004 12:35 pm
- Contact:
Actually, http test appears to test an https site...
I have set up the before mentioned site as an HTTP Test and am measuring response time with a GET and viewing it in the Log Analyzer.
Is it possible it is somehow not really testing the site and telling me it is?
Could it be testing another HPPT site?
Is it possible it is somehow not really testing the site and telling me it is?
Could it be testing another HPPT site?
Looks like this site (blackboard.byu.edu) supports both protocols depending on request.
Header:
Check header
HostMonitor can search for a string (or several strings) in the HTML header (received from a server) and start alert actions when the string exists (or doesn't exist) in the header. Define string(s) and condition to alert using following options:
You should read as
Check header
HostMonitor can search for a string (or several strings) in the HTTP header (received from a server) and start alert actions when the string exists (or doesn't exist) in the header. Define string(s) and condition to alert using following options:
So, if you want to check for "<title>Blackboard Learning Systems™(Release 6)</title>", use "Check contents" option.
Regards
Alex
HostMonitor works correctly. It sets "Bad contents" status because HTTP header returned by server does not contain string that you have specified.Header Check Content returns Bad Contents if hypertext tags are included in the text to be checked.
Header:
However I found mistake in manual:HTTP/1.1 200 OK
Date: Thu, 16 Sep 2004 23:32:27 GMT
Server: Apache/1.3.29 (Unix) mod_perl/1.29
Set-cookie: session_id=@@1f84efe2c36cd90e5f3e657b8d68c626; path=/;
Pragma: no-cache
Cache-Control: no-store
X-Blackboard-product: Blackboard Learning System™ (Release 6) 6.1.5.5
Content-Type: text/html
X-Cache: MISS from blackboard.byu.edu
Connection: close
Check header
HostMonitor can search for a string (or several strings) in the HTML header (received from a server) and start alert actions when the string exists (or doesn't exist) in the header. Define string(s) and condition to alert using following options:
You should read as
Check header
HostMonitor can search for a string (or several strings) in the HTTP header (received from a server) and start alert actions when the string exists (or doesn't exist) in the header. Define string(s) and condition to alert using following options:
So, if you want to check for "<title>Blackboard Learning Systems™(Release 6)</title>", use "Check contents" option.
Regards
Alex
-
- Posts: 22
- Joined: Thu Sep 16, 2004 12:35 pm
- Contact:
OK, that worked. Looks like I still have a bit to learn
I checked the header using IP-Tools HTTP, as it looked like that was where you got your header content from. I was of the opinion that the content I was checking was that returned when I used View, Source in IE. That is why I thought it did not work.
Thanks for the help.
Thanks for the help.