Based on Fault Model Protocol Conformance Testing Method and System for Linux
- Author
- GuoZuoJing
- Advisor
- YeXinMing
- School
- Inner Mongolia University
- Major
- Computer Applications
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 106
- Citations
- 2
Abstract
With rapid development of the Internet, IPv6 appears because IPv4 has many shortages. The comprehensions of protocol specification of different factories are different, and communication devices of implementation are also different. So it is very important for the conformance testing of the implementation for the IPv6 products. OSPFv3 protocol is a Intra Domain Routing Protocol.It is necessary to test OSPFv3 protocol.We focus on OSPFv3 protocol conformance testing, and discuss the method of routing protocol conformance testing. Basing on analysis of the routing protocol’s features, we use remote test method and get the OSPFv3 test suite by combining automatic with manual test generation. We model the part of protocol with EFSM and follow the standard of fault type for fault model to utilize the method of combination of data flow and control flow to get test cases. The test cases generated manually have randomness and nondetermination, so these test cases are incomplete. In order to improve this situation, we propose a method to generate test cases automatically, which can generate test cases accurately, and so enhance efficiency. For the rest part of OSPFv3 protocol that can’t be modeled by formal method, test cases are generated manually by the way of protocol analysising. XML is the language to describe data. We use XML to describe test suite because XML can define element and mark by itself, and its rules are simple and it is easy to learn. Test suite based on XML can be run by testing system directly after it is parsed. In this paper, we create the XML marks to describe OSPFv3 test suite.In this paper, we introduce OSPFv3 protocol conformance testing system for Linux.Finally, we make Zebra as implementation under test and test it in our testing system and present the test report.
Table of contents
Abstract 4-6
ABSTRACT 6-10
Introduction 10-12
protocol conformance test and OSPFv3 protocol About 12-17
1.1 protocol conformance test About 12-13
1.2 OSPFv3 Protocol Introduction 13-17
The second chapter based the EFSM model OSPFv3 protocol test suite generation 17-30
2.1 EFSM 17-18
2.2 fault model 18-19
2.3 data flow and control flow 19
2.4 OSPFv3 protocol test cases generated 19-29
2.5 Summary 29-30
XML language to describe and to save the test suite 30-41
3.1 Introduction to XML Extensible Markup Language 30-31
3.2 test suite for the organization 31-35
3.2.1 test sets in the XML file structure 31-32
3.2.2 the OSPFv3 protocol test suite used to describe the XML tag 32-35
3.3 Example 35-39
3.4 and TTCN test suite described contrast 39-41
Chapter linux system protocol conformance test system UML, MSC model 41-47
4.1 the UML Profile 41
4.2 the MSC About 41-43
4.3 UML sequence diagram test sets of editing subsystem 43-45
the MSC sequence diagram
4.4 test suite execution subsystem 45
4.5 Summary 45-47
Chapter linux system, the design and implementation of the the OSPFv3 protocol conformance test system 47-63
5.1 development environment 47
5.2 system structure 47-48
5.3 test suite for editing subsystem implementation 48-59
5.3.1 test suite to edit the workflow subsystem 48-49
test suite 5.3.2 program organization 49-50
5.3.3 test suite editing subsystem to achieve 50-59
5.4 test suite execution subsystem implementation 59-61
5.4.1 Socket socket 60-61
5.4.2 test suite execution subsystem implementation process 61
5.5 log file 61-62
5.6 the difference with the previously developed test system as well as improved 62-63
the
sixth OSPFv3 protocol conformance test 63-67
6.1 build the OSPFv3 protocol conformance test platform 63-64
6.1.1 logical structure of the test platform 63-64
the 6.1.2 test platform physical structure 64
6.2 OSPFv3 protocol conformance test report 64-67
Chapter VII Conclusion and further work 67-69
7.1 Conclusion 67
7.2 further work 67-69
the
References 69-70
Acknowledgements 70
Related dissertations
- Design for Protocol Conformance Test Cases of OSPFv3
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure
- XQuery Query Processor Design and Implementation
- Research and implementation of group production information integration management
- Research on XML Conceptual Model and Internal Transformation Method