Mass update of test specific properties

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
BW1
Posts: 8
Joined: Wed Jan 04, 2017 3:21 pm
Location: Ohio

Mass update of test specific properties

Post by BW1 »

We have over 5000 URL tests that were configured with URL's utilizing the IP address of the target instead of the hostname, which creates issues when we do a failover. I have the ability to generate a list of all the test id's with their URL's and the corrected URL's, which could be used to generate an HMS script, but the SetTestParambyID command in HMS script covers a very limited set of parameters, and the URL does not appear to be one.

Is there any HMS script command which can alter the URL property of a test?
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be you can create list like
oldURL1
newURL1
oldURL2
newURL2
...

Then it will be easy to replace URLs using Export / Import procedures and simple script that will replace URLs in text file

Regards
Alex
BW1
Posts: 8
Joined: Wed Jan 04, 2017 3:21 pm
Location: Ohio

export/edit/import method

Post by BW1 »

I am following your advice. However, many of the tests are paused because of ongoing maintenance. I notice there is no indication of this in the export file. When I re-import with ImportMode=Modify, will the paused state be persisted?
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>When I re-import with ImportMode=Modify, will the paused state be persisted?

Yes, at least in HostMonitor v10.
Not sure what version do you use.

Regards
Alex
BW1
Posts: 8
Joined: Wed Jan 04, 2017 3:21 pm
Location: Ohio

Post by BW1 »

10.64
Post Reply