Dynamically create tests

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
Dennis A
Posts: 5
Joined: Tue Jun 28, 2005 6:54 am

Dynamically create tests

Post by Dennis A »

Hi all,

I've searched the forum for an answer to this and I didn't find anything. Hopefully I didn't miss something obvious. So, here's the question.

I would like to dynamically create and remove tests in response to certain events. The tests would have to have different names, comments, URL's, etc., depending on the events that occur.

I've tried setting some global variables and putting those variables into a test import file to set some values and that didn't work. The SetTestParam and ReplaceTestParm commands are too limited for my purposes. Is there any way to do this short of writing a custom VBS script to generate import files? I don't really have the time for that, but I guess if I have to...

Thanks in advance,

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

Post by KS-Soft »

HostMonitor may import test settings from text file. However you need some homemade script to generate import file

Regards
Alex
Dennis A
Posts: 5
Joined: Tue Jun 28, 2005 6:54 am

Post by Dennis A »

Thanks, I was hoping that wasn't necessary :(

I started writing the script but I can't seem to find Macro variable for the URL field in the URL Request test method so I can pass it to the script.

Ideas, anyone?

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

Post by KS-Soft »

There are no such variable. Probably you should use %RelatedURL% or %CommentLine<N>% variable.

Regards
Alex
Post Reply