|国家预印本平台
首页|一种基于CORBA和UML的网管接口TTCN-3测试套生成方法

一种基于CORBA和UML的网管接口TTCN-3测试套生成方法

TTCN-3 test suits generation approach for CORBA and UML based network management interface

中文摘要英文摘要

ORBA是网络管理中的主流接口技术之一,目前的网络管理接口一般主要采用UML来进行与实现技术无关的信息建模,而将IDL作为一种基于具体技术的接口定义,二者共同构成完整的网络管理接口。但目前网络管理接口测试的自动化程度还有待提高,尤其是接口功能和语义层面的测试还主要依赖人工进行。TTCN-3作为一种标准化的测试描述语言,可以用来实现网络管理接口的自动化测试。本文在ETSI给出的IDL到TTCN-3的标准映射的基础上,提出了一种根据IDL接口定义和UML序列图来生成TTCN-3测试套的方法,给出了TTCN-3测试脚本的生成规则,设计了TTCN-3测试套生成器的组成结构,并完成了生成器的原型实现,可以自动生成针对CORBA网络管理接口的可执行的TTCN-3测试套,从而在一定程度上提高了网管接口的功能和流程测试的自动化水平。

ORBA 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, 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-3 can be used to improve the testing automation degree of network management interfaces. Based on the standard static mapping from IDL to TTCN-3 specified by ETSI, this paper proposed a kind of TTCN-3 testing suits generation method from IDL definition and UML sequence diagrams, provided the generaiton rules to generate test scripts, designed the system structure of the TTCN-3 test suits generator, and implemented a prototype system. The prototype can automatically generate executable TTCN-3 test suits for CORBA-based network management intefaces, thus improving the automation level of funtion and process test of management interfaces in a certain degree.

陈兴渝、任梓为、王智立、刘磊

通信

N-3IDLUML测试套生成规则

N-3IDLUMLest suitsGeneration rules

陈兴渝,任梓为,王智立,刘磊.一种基于CORBA和UML的网管接口TTCN-3测试套生成方法[EB/OL].(2012-12-27)[2025-05-16].http://www.paper.edu.cn/releasepaper/content/201212-1009.点此复制

评论