|
View previous topic :: View next topic |
Author |
Message |
marc.sauber
Joined: 26 Sep 2016 Posts: 1
|
Posted: Mon Sep 26, 2016 2:46 am Post subject: Debug HTTL url test |
|
|
Dear i have an url test that return "bad" the url is accessible via the browser.
How can i do to have more infos about the problem.
Nothing in the log file more that Bad test result. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Sep 26, 2016 9:56 am Post subject: |
|
|
You may use %HttpCode%, %HttpHeader%, %HttpPage% variables (e.g. you may use Send Email action assigned to the test and template with these variables)
http://ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro
%HttpCode%
HTTP status code received from the server. Also this variable may return winsock error codes in case web server is not accessible (e.g. you have specified incorrect server name)
%HttpPage%
Represents contents of the monitored web page (first 32768 (32K) characters of the web page if test was performed by HostMonitor; first 2048 (2K) characters of the page if test was performed by RMA).
Variable may be empty if you setup URL test item to check HTTP response only, without checking content or CRC of the page. HTTP test returns an empty string if a HEADER request is used. It also returns an empty string when a monitored web server does not respond.
Regards
Alex |
|
Back to top |
|
|
|
|
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
|