GetTestParamByID

Need new test, action, option? Post request here.
Post Reply
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

GetTestParamByID

Post by AdamMon »

Hello,

we Store a Lot of Information in the CommentLines so we can build Views afterwards by using this Information.

We want to Build a customized mask (in C#) where you can choose from different information(which Hosts is tested, who should be noticed...) wich will be writen in the CommentLines aftwerwards.

This works fine by usind the SetTestParamByID Command, but there should be a possibility to change the Parameters afterwards. For this we need to read ALL CommenLines out.

By using TestInfoByID i only get the First 5 CommentLines. We need at least the first 10

Thank you
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Not sure what exactly software/option do you use.
Are you asking about commands supported by Telnet service?
or you are talking about HM Script?

Regards
Alex
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

Post by AdamMon »

i'm using the Telnet service.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We checked code and we don't want to change that function...
May be you can use some other options? E.g. we can add command like ShowAllCommentsByTestID.
Do you need just comments or other test properties as well?

Regards
Alex
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

Post by AdamMon »

That would be perfect! Thats all i need.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, will be implemented in next version.

Regards
Alex
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

Post by AdamMon »

Could you implement a command like GetHighestID wich responses with the last ID the System gave a Test.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What you plan to do with this ID?

Regards
Alex
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

Post by AdamMon »

I want to create Tests by using Telnet. And because you can have multiple Tests with the same Name we want to write the TestID in the Testname automatically.

So my idea was to read out the highest test id and add 1 to it. The Problem is, that this someone could have deleted Tests in the meantime and it needs a lot of time to read out the highest id by using "TL -r".
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What if somebody adds test between telnet commands? You do not use RCC/HostMonitor GUI for test list management? All tests created by using import text file?

Regards
Alex
AdamMon
Posts: 8
Joined: Fri May 11, 2012 4:10 am

Post by AdamMon »

The probability that someone adds a test between the two telnet commands is really low, and never happened before. We use telnet for adding new tests and editing the commentlines.
Post Reply