Bluehost.com Web Hosting $6.95

Re: test scripts for subagent

This is a discussion on Re: test scripts for subagent within the SNMP Users forums, part of the Networking and Network Related category; On 11/04/2008, Pranesh Kulkarni <praneshvk@gmail.com> wrote: > My Question was can i use the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008
Dave Shield
 
Posts: n/a
Default Re: test scripts for subagent

On 11/04/2008, Pranesh Kulkarni <praneshvk@gmail.com> wrote:
> My Question was can i use the scripts which are in
> $installdir/testing/RUNTESTS to test my subagent ,


RUNTESTS is simply the top-level driving script.
The tests themselves are under 'testing/tests'

Most of these are generate specific queries, and
compare the results received with the expected
values. The only standard test that would potentially
touch your subagent would be T200snmpv2cwalkall
which walks the full tree.
Though you might need to tweak the agent config
to have it load your subagent. See the CONFIGAGENT
token.

For more focused testing of your subagent, you would
definitely need to write your own tests.

> if any tutorial is there to writing test scripts to
> test the subagents will be helpful to me.


Nope - sorry.

Have a look at the existing tests under 'testing/tests'
The structure is pretty straightforward - particularly
if you start with the earlier tests.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0