Multiple tests

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Toyman
Posts: 1
Joined: Wed Nov 20, 2002 6:00 pm

Post by Toyman »

I am using Hostmonitor to retrieve values from two Perfmon counters on a machine. Is it possible for one test to call another test ? For example, the first test would run and retrieve the first value and do an Insert into a SQL database; it would then call the second test which would retrieve the second value and then do a SQL Update to the record Inserted by the first test ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, its possible. Set time interval for 2nd test longer than interval for 1st test (in this case 2nd test will not be performed before 1st test). Create simple HMScript just with 1 command "RefreshTest name_of_second_test" and add "Execute HMScript" action to alert profile that assigned for 1st test.
HostMonitor will start 1st test, after test execution it will execute HMScript that will start 2nd test.

Regards
Alex
Locked