首页> 中文期刊> 《现代电子技术》 >基于面向服务的测试用例生成研究

基于面向服务的测试用例生成研究

         

摘要

面向服务架构(SOA)已成为Web分布式系统发展的主要趋势,越来越多的Web应用软件通过这种新的软件架构进行开发.Web服务质量的有效性变得日益严峻.WSDL是描述Web服务功能及对外接口的重要文件,给出了依据WS-DL生成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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号