Macro in "Pivate Log" field

Need new test, action, option? Post request here.
Post Reply
batcheson
Posts: 13
Joined: Tue Jul 29, 2003 6:00 pm

Macro in "Pivate Log" field

Post by batcheson »

I originally posted the following in the Installation / Configuration forum... I am moving the post to the Wish List forum since it is a feature I need before I can start to use Templates:

----------

Using Macros / Variables in the "Private Log" and "Related URL" name fields:

The newest version of HostMonitor introduced the concept of “Templates” through the use of Variables. I think this is a great idea since I have several thousand tests setup that are continuously being modified / added. I started to make templates using this new feature; however, I am experiencing difficulties with a couple fields in the template…

These fields are the “Use Private Log” field where you name the Log File and the “Related URL” field name.

All of my tests have a private log setup (Hence the name “Private Log”) but I cannot find a way to Auto Populate a Unique name for each test when a template is copied into a folder. Before using templates, I used a Private Log name based on the name of the server I was running the test against. I was hoping to use a macro variable such as %Host% or %Folder% in the name of the Private Log to generate a unique name based off the Folder name just as you can name the test based off the folder name using the macro %Folder%. When I put something like C:\Hostmonitor\%Folder%.html in the Field for Private Log I do not get the results I was hoping for. Likewise, I have the same problem defining the URL name in the “Related URL” field on the test.

Without being able to generate a Unique Name for the “Private Log” and “Related URL” for each test, the Nice Template feature has become unusable since I cannot log Test results to a private log for each individual test.

Would it be possible to use Macros / Variables in these fields so they will autopopulate when using templates?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, we will implement such options

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

The following update www.ks-soft.net/download/hm775.zip allows you to use variables for Related URL field.
Please install version 7.74 before using this update

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, there is new version www.ks-soft.net/download/hm775d.zip
It allows you to use variables for Related URL and Private Log fields.
Please install version 7.74 before using this update

Regards
Alex
jdean987
Posts: 16
Joined: Fri Oct 14, 2005 8:32 am
Location: Indianapolis

Post by jdean987 »

Love the macro expansion features. Looking forward to more macros in more places.

Today we're looking for it in the DNS test for the Request field (i.e. Request: %Folder%.domain.com)

Thanks as always,

Jeff Dean
John Wiley & Sons
megasound

not working....

Post by megasound »

hi

i downloaded the 7.75d version
but stil this is NOT working
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
i wont create seperate files

what am i doing wrong ???
i changed the options -> log settings ->File log -> log to specific file
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm

but this is not working for me.....
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Please read the manual.
http://www.ks-soft.net/hostmon.eng/mfra ... #templates

Templates can be applied to test items.
It has nothing to do with global options!

Regards
Alex
Post Reply