期刊文献+

一种基于服务需求的自动测试数据生成方法

Automatic Generation Method of Test Date Based on Demand For Service
下载PDF
导出
摘要 以服务消费者为中心的CCSOA架构支持服务需求的发布和针对服务需求的开发。验证所开发服务是否满足服务需求是一个必须解决的问题。本文提出一种以服务需求的合约文档描述为基础自动生成测试数据的方法,用于解决CCSOA架构下服务自动测试的问题。服务需求的描述在WSDL语言基础上进行扩展,增加服务需求的合约化描述。通过正则表达式描述合约,在合约中嵌入测试支持元素。通过对服务需求合约文档的解析,自动构建针对合约文档的有限状态自动机,生成测试数据。通过实验分析,验证了方法的可行性。 Consumer-centric service Oriented architecture support the release of service demands and the development of demand for services.It is a pressing problem that verifies whether the services are developed to meet the service demands.This paper proposes an automatic generation method of test data based on a description of the contract documents,to solve the problem of automated testing services in CCSOA.Descriptions of service demands are extended based on WSDL language and it increases the contract descriptions of service demands.Describing contract by regular expressions,test-supported elements are embedded in the contract.By analyzing the contract documents of demand for services,the finite state automaton of contract documents is automatically constructed,and the test data are generated.The experiment verified the feasibility of the method.
出处 《微计算机应用》 2011年第4期49-55,共7页 Microcomputer Applications
关键词 合约测试 服务需求描述 自动测试 Contract Test description of service demands Automatic test
  • 相关文献

参考文献14

  • 1白晓颖,赵冲冲,戴桂兰.Web服务测试研究[J].计算机科学,2006,33(2):252-256. 被引量:19
  • 2Tsai W. T. , B. Xiao, R. Paul, Y. Chert. Consumer - centric service - oriented architecture : a new approach [ C ]. Software Technologies for Future Embedded and Ubiquitous Systems and Second International Workshop on Collaborative Computing, Integration, and Assurance ( SEUS - WCCIA' 06). 2006.
  • 3姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 4黎升洪,王任.基于有限状态机的Web服务测试用例生成方法[J].计算机时代,2009(11):34-37. 被引量:1
  • 5Robert Binder. Testing Object - Oriented Systems : Models, Patterns, and Tools[ M ]. ObjectTechnology Series, Addison Wesley, 1999.
  • 6Heckel, R. M. Lohmann. Towards contract - based testing of web services [ J ]. Electronic Notes in Theoretical Computer Science, 2005, 116 : 145 - 156.
  • 7Marcello Bruno, Gerardo Canfora, Massimiliano Di Penta,Gianpiero Esposito, and Valentina Mazza. Using test cases as contract to ensure service compliance across releases[ J]. Lecture notes in computer science, 2005, 3826:87.
  • 8Offutt J. , Xu W.. Generating test cases for web services usingdata perturbation[ J]. ACM SIGSOFT Software EngineeringNotes, 2004, 29(5) : 1 -10.
  • 9Tsai W. T. , Paul Ray, Wang Yamin, Fan Chun, and Wang Dong. Extending WSDL to facilitate Web services testing. 2002.
  • 10Aichernig B.K.. Mutation testing in the refinement calculus[ J]. Formal Aspects of Computing, 2003, 15 (2 -3) : 280 -295.

二级参考文献87

  • 1黄宁,余莹,张大勇.Web服务软件测试技术的研究与实现[J].计算机工程与应用,2004,40(35):147-149. 被引量:18
  • 2姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 3黄敏,张小真,葛静.基于服务质量的Web内容变换方法研究[J].西南师范大学学报(自然科学版),2005,30(2):249-253. 被引量:3
  • 4Hong Mei, Lu Zhang. A framework for Testing Web Services and its Supporting Tool [C]//IEEE International Work- shop on Service-Oriented System Engineering. Washington: IEEE Computer Society, 2005:199 -206.
  • 5Bai Xiaoying, Dong Wenli, Tsai Wei-Tek, et al. WSDL-based Automatic Test Case Generation for Web Services Testing [C]//IEEE International Workshop on Service-Oriented System Engineering. Washington.. IEEE, 2005: 207 -212.
  • 6Hanna S, Munro M. An Approach for Specification-based Test Case Generation for Web Services [C]//2007 IEEE/ACS International Conference on Computer Systems and Applications. Washington.. IEEE, 2007: 16- 23.
  • 7Wuzhi Xu Offutt, J. Juan Luo. Testing Web Services by XML Perturbation [C]//16th IEEE International Symposium on Software Reliability Engineering. Washington: IEEE Computer Society, 2005: 256- 266.
  • 8Bertolino A, Jinghua Gao, Marchetti E, et al. TAXI-A Tool for XML-Based Testing [C]//Companion to the Proceedings of the 29th International Conference on Software Engineering. Washington: IEEE Computer Society, 2007: 53 - 54.
  • 9Looker N., Xu J. Assessing the dependability of SOAP RPC-based Web services by fault injection. In: Proceedings of the 9th IEEE International Workshop on Object-Oriented Real-Time Dependable Systems, Capri Island, Italy, 2003, 163~170
  • 10Offutt J., Jin Z., Pan J. The dynamic domain reduction approach to test data generation. Software-Practice and Experience, 1999, 29(2): 167~193

共引文献79

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部