| A protocol should go through several different stages from producing to disposing finally. The first stage is to form the protocol draft, and the draft forms the protocol standard after proving and revising repeatedly, then the persons who realize of protocol realize the protocol according to the protocol standard, the protocol can not be disposed and used at once, before plunging it into applications, we must test it firstly, this is protocol testing.As the complexity of the communication protocol is increasing constantly, carrying on conformance testing becomes an important component in developing period of software product of communication gradually according to the protocol norm. At the same time, it makes network management more and more difficult with increasing of the figures of network equipment, types of apparatus and different production firms of equipment, but the quality of network management count for running reliably and maintaining simply and high-efficiently, SNMP (Simple Network Manage Protocol) makes network management simple, it has became the fact standard of IP network management. But in its realization, SNMP agent has non-compliances in various degrees to the support of SNMP. So carrying on researching of conformance testing for it has great theory and realistic meaning.This thesis has carried on the planning of abstract test case in studying relevant files and norms of simple network manage protocol SNMP and different theories and methods of conformance testing technology, because SNMP protocol is the single state and application layer protocol on the connectionless network, so we has designed the consistency test purposes of the protocol and test cases manually, and has discussed the test courses of test cases, then we put forward the scheme of using the programming language to write test cases directly, through disposing the realization software package of net-snmp of SNMP, adopting C ++ and SNMP ++ to write test cases and carrying on conformance testing of net-snmp, we have proved the feasibility of this scheme. |