Font Size: a A A

Design And Implementation Of SNMP AGENT For Automatic Test

Posted on:2013-01-24Degree:MasterType:Thesis
Country:ChinaCandidate:W LuFull Text:PDF
GTID:2218330362459235Subject:Automated testing
Abstract/Summary:PDF Full Text Request
SNMP Agent is a function module which exists in network equipments to accomplish interaction between the network equipments and the network management system. SNMP Agent Testing is very essential to guarantee that network management system and network equipment can communicate well with each other. At present the test to SNMP Agent mainly adopts manual testing and partial-covered automation testing. And the automation testing usually applies TCL-language to write Net-SNMP commands.Targeted to the content and requirement of SNMP Agent test, this paper proposes a solution by analyzing SNMP communication principles and MIB structure which can automate the following functions, including generating testing data, generating test cases, executing test cases and analyzing test result, as well the solution adopts architect technique and design patterns of common use in software development, and applies Java programming language in its design and implementation. At the aspect of automatically generating test data, it will write scripts by TCL scripting language to prepare test data. At the aspect of automatically generating test cases, it will adopt the perspective of summarizing general test rules and making up test cases according the rules. At the aspect of automatically executing test cases, it will invoke the ready test cases, and perform the testing with its input parameters, then record the detailed test result and test data. At the aspect of automatically analyzing test result, it will compile the generated test result into Excel files according to the execution time, which is quite convenient for testing engineers and development engineers to analyze the result and track bug. In the end, the article proves the validation of the test solution by comparing test consummation of automatic testing with manual testing, furthermore it proves the rationality of the solution based upon the maintenance and optimization of test cases and the support for network management development.The signification of the research result presented in this paper is upon the solution that achieves the design of complete automation test for SNMP agent. The solution is appropriate for different network equipments and different MIB definition files, and meanwhile it can be implemented once with using multiple times where it needs, to avoid the testing time increasing as a consequence of the increment of network equipments and the increment of MIB files. Furthermore, the solution is convenient for the maintenance and optimization of test case.
Keywords/Search Tags:SNMP, Agent, automation testing, network management system
PDF Full Text Request
Related items