We have about 100 tests and we are changing our IP addresses. It would save us several hours of effort (and probably avoid many mistakes) if we could edit the list of tests using Notepad. Our IP address scheme is changing from 111.111.111.30 to 222.222.222.30 (scrubbed). So if we are able to open the list of tests in a text editor, all we will have to do is replace 111.111.111 with 222.222.222. That will be a HUGE time saver for us. Can we do this? If so, what file do we need to edit and/or how is it done? We looked through the HostMonitor9 directory but do not see an obvious choice.
Many thanks in advance.
Edit Tests in Bulk Using Notepad?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may use Export/Import from text file:
1. Export all test items using Menu File -> Export to text file
2. Modify test settings using notepad
3. Add ImportMode = Modify option at the beginning of the file
4. Import modified text file using menu File -> Import from Text file.
This will allow you to modify parameters of many test items within folder/subfolder by changing single folder-level variable.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #templates
1. Export all test items using Menu File -> Export to text file
2. Modify test settings using notepad
3. Add ImportMode = Modify option at the beginning of the file
4. Import modified text file using menu File -> Import from Text file.
You may also use macro variables as test parameters.; -- Special commands (added in version 4.40) --
ImportMode = Add
; this parameter may be set to one of the following values:
; - ImportMode = Add - in this mode HostMonitor adds new tests to the
; list; prompts for confirmation when the test with specified name already
; exists within the list (in any folder). This mode is used by default as it
; conforms with the behavior of previous versions of HostMonitor (version
; 4.30 or earlier);
; - ImportMode = Modify - in this mode application adds new test if
; the test with specified name doesn't exist in the folder. Otherwise,
; HostMonitor replaces the test settings by those provided in the imported
; file. Statistical information (dead ratio, alive ratio, etc) is kept intact;
; - ImportMode = Replace - adds new test if the test with provided name
; doesn't exist in the specified folder. Otherwise, HostMonitor replaces
; the test settings with the settings that are specified in the imported
; file and resets all statistical information (similar to the effect of
; complete removing of an old test and then creating the new one instead.
This will allow you to modify parameters of many test items within folder/subfolder by changing single folder-level variable.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #templates