about HTTP test

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
allegro
Posts: 7
Joined: Sun Apr 27, 2008 1:59 am

about HTTP test

Post by allegro »

Can I use a variable in URL of HTTP test's URL?
thanks!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Sorry, "HTTP" test method does not recognize macro variables in URL string. However, you may use "URL" test method instead. "URL" test method allowsto use date macro variables in the "URL" and "Post data" fields with "Translate date macro variables" option enabled. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url
==============================
Translate date macro variables
This option allows you to use date & time variables in the "URL" and "Post data" fields. It is useful when you have to monitor web pages that are created on regular basis. E.g. such URL may look like " http://www.sql.company.com/logs/%mm%-%dd%-%yyyy%.html".
==============================

Regards,
Max
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

On the other hand, in version 7.70 were introduced folder-related macro variables, that can be used as parameters of tests (templates). E.g. you may specify %fvar_IPaddress% as target address for Ping and Trace tests, use string like http://%fvar_IPaddress%/database/index.cgi as URL specified for HTTP test, check drive free space using \\%fvar_IPaddress%\driveC and \\%fvar_IPaddress%\driveD paths for UNC tests, etc.
Please, read the following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... #templates

Regards,
Max
Post Reply