基于面向服务的测试用例生成研究  被引量:2

Research on generation of test case based on service oriented architecture

在线阅读下载全文

作  者:滕士波[1] 费琪[1] 

机构地区:[1]江苏自动化研究所,江苏连云港222061

出  处:《现代电子技术》2015年第22期37-40,共4页Modern Electronics Technique

摘  要:面向服务架构(SOA)已成为Web分布式系统发展的主要趋势,越来越多的Web应用软件通过这种新的软件架构进行开发。Web服务质量的有效性变得日益严峻。WSDL是描述Web服务功能及对外接口的重要文件,给出了依据WSDL生成Web服务的测试方法,首先定义了接口输入数据的标准模型,通过解析WSDL文件生成树状结构模型;其次提出了一种依据树状结构模型生成各节点间的依赖关系的算法,并通过对依赖关系进行分析并结合等价类划分及边界值测试方法生成测试数据;最后通过在WSDL文件中的Operation字段增加前置操作及后置操作,产生了操作流,结合生成的测试数据,从而产生面向服务的测试用例。SOA (service oriented architecture) has become the main development tendency of Web distributed system, with which more and more Web application softwares have been developed, and the effectiveness of Web service quality is becoming increasingly serious. WSDL is an important document tO express Web service function and external interface. A testing method of Web service generated by means of WSDL is given in this paper. Firstly, the standard model of interface input data is defined, and the tree-shaped structural model is created by analyzing WSDL documents. Secondly, a new algorithm of the dependency re- lation among nodes, which is generate on the basis of tree structure model, is proposed, and the test data are generated by ana- lyzing dependency relationship and by integrating the equivalence partitioning and boundary value testing method. In the end, the pre-operation and post-operation are added by the Operation section in the WSDL file to result in the operation flow and the testing case of SOA by the combination of the generated test data.

关 键 词:WEB服务描述语言 树状模型 节点依赖关系 操作流 

分 类 号:TN710.34[电子电信—电路与系统] TP301.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象