hi everone;
I have a problem that I have defined some series of URL tests of my system. But when it gets Bad result, most probably I won't be in the office. So I want to save the URL result (the result when I call it from browser, the error web page) somewhere at the PC.
How could I do that?
Best Regards
saving url result in web page
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
There are several variables, that have sense for "URL" and "HTTP" tests only:
%HostURL% - Represents URL used for the test
%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)
%HttpHeader% - Complete HTTP header received from the server
%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.
So, you may use these variables in actions, like "Send email" or "Execute External program".
Regards,
Max
%HostURL% - Represents URL used for the test
%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)
%HttpHeader% - Complete HTTP header received from the server
%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.
So, you may use these variables in actions, like "Send email" or "Execute External program".
Regards,
Max