ODBC Tests
Here is how I have it working today;
ODBC Query 1 - Gets count of records from Table on Server A. (I have this same test for the different servers). Server Z has a database with a table on it which has columns for Server Name, and Result. The baseline entry is manually entered. On Good tests, I have it execute an SQL Query which updates a table on Server Z with the Server name and reply value.
ODBC Query 2 - Reads the table on Server Z and looks for servers who have a different record count than the baseline entry.
Rather than use Server Z as a "middleman", would it be possible in the future to execute an HM script which can dynamically update the search criteria on the individual tests?
ODBC Query 1 - Gets count of records from Table on Server A. (I have this same test for the different servers). Server Z has a database with a table on it which has columns for Server Name, and Result. The baseline entry is manually entered. On Good tests, I have it execute an SQL Query which updates a table on Server Z with the Server name and reply value.
ODBC Query 2 - Reads the table on Server Z and looks for servers who have a different record count than the baseline entry.
Rather than use Server Z as a "middleman", would it be possible in the future to execute an HM script which can dynamically update the search criteria on the individual tests?
Not necessarily the query itself, but the result condition that it's looking for. I'm counting the records in a table. If the count is > than 0, the response is good. I then update the table on Server Z with the reply as a "good status action". Rather than update the table on Server Z, I'd like to have it update the test parameters on the other test(s) to say <> %reply% is bad, where %reply% was the result of the baseline.
Ok, update available at http://www.ks-soft.net/download/hm353.zip
You can use command: SetTestParam test_name SQLQuery your_sql query
But... in this version was redesigned TCP and NT Event Log tests. They works but testing is not finished. So, use this update at your own risk or wait for new release
Regards
Alex
You can use command: SetTestParam test_name SQLQuery your_sql query
But... in this version was redesigned TCP and NT Event Log tests. They works but testing is not finished. So, use this update at your own risk or wait for new release
Regards
Alex