期刊文献+

基于有限状态机的Web服务测试用例生成方法 被引量:1

Method of Web Services Test Case Generation Based on Finite State Machine
在线阅读 下载PDF
导出
摘要 提出了一种基于有限状态模型(FSM)的测试用例生成方法。首先,FSM中的状态由Web服务与用户交互产生的中间状态表示,FSM中的状态迁移及其标注由Web服务与用户间的消息交换表示;其次,借助正则表达式来描述Web服务交互过程的所有消息交换序列,并与Web服务的WSDL文档结合产生测试数据;最后,给出了满足FSM迁移覆盖准则的测试用例生成算法,并通过实验验证了该方法的有效性。 A method of testing case generation based on FSM is presented.Firstly,the FSM’s nodes are represented by the states between Web services and users interaction,and the FSM’s state transitions and their labeling are expressed by messages exchanging between Web services and users.Then,all message exchange sequences during Web services interaction process are depicted by regular expressions,and the test data are produced by combining with WSDL documents of Web services.Finally,the testing case generation algori...
作者 黎升洪 王任
出处 《计算机时代》 2009年第11期34-37,共4页 Computer Era
关键词 WEB服务 有限状态机 正则表达式 覆盖准则 测试用例 Web services finite state machine regular expression coverage criteria testing case
  • 相关文献

参考文献4

二级参考文献52

  • 1黄宁,余莹,张大勇.Web服务软件测试技术的研究与实现[J].计算机工程与应用,2004,40(35):147-149. 被引量:18
  • 2姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 3Looker 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
  • 4Offutt J., Jin Z., Pan J. The dynamic domain reduction approach to test data generation. Software-Practice and Experience, 1999, 29(2): 167~193
  • 5Fabbri S.C.P.F., Maldonado J.C., Sugeta T., Masiero P.C. Mutation testing applied to validate specifications based on statecharts. In: Proceedings of the 10th International Symposium on Software Reliability Engineering, Florida, USA, 1999, 210~219
  • 6Mandrioli D., Morasca S., Morzenti A. Generating test cases for real-time systems from logic specifications. ACM Transactions on Computer Systems, 1995, 13(4): 365~398
  • 7Lee S.C., Offutt J. Generating test cases for XML-based Web component interactions using mutation analysis. In: Proceedings of the 12th International Symposium on Software Reliability Engineering, Hong Kong, China, 2001, 200~209
  • 8Offutt J., Xu W. Generating test cases for web services using data perturbation. ACM SIGSOFT Software Engineering Notes, 2004, 29(5): 1~10
  • 9Tracey N.J. A search-based automated test-data generation framework for safety-critical software[Ph.D. dissertation]. Department of Computer Science, University of York, 2000
  • 10Aichernig B.K. Mutation testing in the refinement calculus. Formal Aspects of Computing, 2003, 15(2~3): 280~295

共引文献64

同被引文献13

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 2白晓颖,赵冲冲,戴桂兰.Web服务测试研究[J].计算机科学,2006,33(2):252-256. 被引量:19
  • 3陈佳蕊,蔡国永.基于扩展WSDL变异的Web服务测试方法[J].计算机应用,2007,27(7):1725-1728. 被引量:6
  • 4Tsai 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.
  • 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.

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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