Export to TXT file

Need new test, action, option? Post request here.
Post Reply
gorisdean
Posts: 23
Joined: Wed Jun 20, 2012 7:56 am

Export to TXT file

Post by gorisdean »

We created a small application that compares our HM testlist with our effective application environment to make sure the testlist is as complete as possible.

This tool starts from an export to TXT file of the HM list and runs every month.

To make sure it is working on the latest version of the testlist the export should be scheduled regularly.

I was not able to find any solution to schedule an export to TXT file.
Not by using an action profile, nor HMScript or command line interface...

(Hostmonitor v8.86)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What parameters are checked by your application?
If you check list of servers, type of tests... then DBF, HTML or Text reports can be used.

Regards
Alex
gorisdean
Posts: 23
Joined: Wed Jun 20, 2012 7:56 am

Post by gorisdean »

I'm only checking URL tests and I need:
- the test name
- the test URL
- Enabled/Disabled

It looks like the Test URL itself cannot be exported in a report.
By default the Comment field contains the test URL as well, but not in my case...
I only see an option if I change the Comment fields of all my URL tests to contain the test URL?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I only see an option if I change the Comment fields of all my URL tests to contain the test URL?
This can be done by Denomination procedure (menu Profiles->Patterns).
May sure to deactivate other test methods if you do not want to change comment for all test methods

Regards
Alex
gorisdean
Posts: 23
Joined: Wed Jun 20, 2012 7:56 am

Post by gorisdean »

Found a solution at last.

Created a custom HTML report. Deleted all HTML tags. Hostmonitor will now just generate a text file. For all test items I added following textx:

DefaultFolder = %Folder%
Method = Url
Title = %TestName%
Disabled = %Status%
URL = %HostURL%

Output is almost the same as the Text Export via the menu. At least for the properties I need.
Post Reply