TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Author
- RenZuoWei
- Advisor
- ChenXingYu
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TP393.07 Computer Network Management
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 2
- Citations
- 0
Abstract
CORBA is one of the mainstream technologies for network management interfaces. Currently, UML is generally used as the protocol-neutral information modeling language in network management domain, and IDL is used as a protocl-specific implementation for CORBA-based interfaces. UML and IDL jointly compose the complete definition of a network management interface. But, the current automatic testing for network mangement interfaces still needs to be improved, especially for function test and semantic test of intefaces, which are most likely relying on manual testing. As a standard test description language, TTCN-3can be used to improve the testing automation degree of network management interfaces.Currently ETSI specifications provided the static mappings from IDL to TTCN-3, which mainly specifies the corresponding declarations of functions and data types in TTCN-3test suites, according to IDL interface definitions. But it does not deal with any mappings for executable test suites. Thus, in order to generate test scripts for CORBA-based network management interfaces based on the curent TTCN-3specifications, more researches are needed for the generation approach for executable test suites.Based on the standard static mappings from IDL to TTCN-3specified by ETSI, this paper proposed a kind of executable TTCN-3testing suits generation method from IDL definitions and UML sequence diagrams, and also provided the generation rules to generate test scripts. This approach first generates the correponding static declarations in test suites according to the IDL defintions, then generates the executeable test case for each interface operation and attribute, at last it generates the combinations of test cases based on time order from the UML sequence diagrams, which forms a complete test suites for network management inteface functions. This paper designed the system structure of theTTCN-3test suits generator, and implemented a prototype system, which canautomatically generate executable TTCN-3test suits for CORBA-based networkmanagement intefaces, thus improving the automation level of funtion andprocess test of management interfaces in a certain degree. The detailedSescnptions of the majoi documents and the main functions in the generator areintroduced in this paper, and the difficulty in programming is also introduced. Asimple example of the generator function verification is given at the end.
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-14
1.1 research background 10-11
1.2 research content and innovation 11-12
1.3 thesis structure 12-14
the second chapter of the underlying 14-23
2.1 CORBA basic concepts 14-17
2.1.1 CORBA 14
2.1.2 Interface Definition Language 14-15
2.1 .3 interface library 15-17
2.2 UML2.0 and XMI 17-18
2.2.1 UML Profile 17
2.2.2 XMI file format 17-18
2.3 TTCN-3 18-21
basic introduction 2.3.1 TTCN-3 is 18-19
2.3. structure nbsp 2 TTCN-3 test suites ; 19-20
system structure 2.3.3 TTCN-3 is 20-21
2.4 Introduction to model Driven Architecture 21
2.5 tools About 21-22
2.5.1 TTworkbench About 21-22
2.5.2 MSXML DOM Introduction 22
2.5 .3 Enterprise Architect Profile 22
2.6 Summary 22-23
Chapter III IDL and UML sequence diagram based on the generation of TTCN-3 test sets of rules designed 23-38
3.1 generation design rules outlined 23-24
3.2 IDL built-in data generation rules 24
3.3 IDL custom data types to generate rules 24-27
3.3.1 structure type generation rules 24-25
3.3.2 enum type generation rules 25
3.3. 3 types of sequence generation rules 25
3.3.4 string type generation rules 25
3.3.5 array types of generation rules 25-26 <br / > 3.3.6 union type of generation rules 26
3.3.7 fixed-point type of generation rules 26-27
3.3.8 alias generation rules define the type of 27
generation rules 3.4 interface part 27-29
generation rules 3.5 operating test 29-31
3.6 generation rules attribute test 31-33
3.6.1 read-only attribute generation rules 31-32
3.6.2 can read and write the property generates rules 32-33
3.7 generation rules module 33-34
special type of data generation rules 3.8 IDL 34-35
generation rules have included the relationship between 3.9 module 35 -36
generation strategy nbsp 3.10 test data ; 36
3.11 test determines the generation strategy 36
3.12 UML sequence diagram to TTCN-3 generation rules 36-37
3.13 Summary 37-38
Chapter generator IDL and UML sequence diagram of TTCN-3 test suites based design and implementation 38-53
4.1 to achieve the basic idea generator 38
4.2 TTCN-3 test suite generator function design 38-41
4.3 TTCN-3 test suite generation process actuators 41-43
4.4 generator used documented 43-44
4.5 storage interface to scan information 44-47 <br / > 4.5.1 build data types table 44-45
4.5.2 build attribute information table 45-46
4.5.3 build information related to the operation table 46 -47
4.6 storage UML sequence diagram scanned information 47-48
4.7 program functions described 48-51
4.7.1 ifrPrinter class 48-50
4.7.2 TableClass class 50-51
4.8 program implementation process and to overcome the key issues 51
4.8.1 operation type of generation to achieve 51
4.8.2 IDL file multiple interface types to achieve 51
4.9 program to overcome the problem 51-52
4.10 summary 52-53
Chapter Builder functional verification 53-56
sixth chapter summarizes the complete set 56-58
6.1 main work content 56
6.2 further work prospects 56-58
References 58-60
Appendix 60-66 <br / > Thanks 66-67
study for a degree of academic papers published during the directory 67
Related dissertations
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Study on conversion and UML testing and model based on AADL
- Analysis of Design and Implementation of B2C E-business Store System
- Designing and Implementing for Guizhou Huaxi Guest House Information Management System
- Design and implementation of the Qilu Petrochemical Industries Co bidding management system
- Design and implementation of hotel management system based on UML
- Design and Implementation of Personnel Management System of University
- The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
- Design and Implement of Telematics System Service Center Subsystem
- The Design and Realization of Motor Vehicle Pre-registration System
- Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The architecture of B/S auto repair technical support system design and Implementation Based on
- Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
- Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
- Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System
- Based on B/S Mode of Tibetan and Qiang Style Shopping Site Design and Implementation
- Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming
- Design and Implementation of Campus Office Platform Based on Android