首页 | 本学科首页   官方微博 | 高级检索  
     

基于有限状态机的Web服务测试用例生成方法
引用本文:黎升洪,王任.基于有限状态机的Web服务测试用例生成方法[J].计算机时代,2009(11):34-37.
作者姓名:黎升洪  王任
作者单位:江西财经大学信息管理学院,江西,南昌,330013
摘    要:提出了一种基于有限状态模型(FSM)的测试用例生成方法。首先,FSM中的状态由Web服务与用户交互产生的中间状态表示,FSM中的状态迁移及其标注由Web服务与用户间的消息交换表示;其次,借助正则表达式来描述Web服务交互过程的所有消息交换序列,并与Web服务的WSDL文档结合产生测试数据;最后,给出了满足FSM迁移覆盖准则的测试用例生成算法,并通过实验验证了该方法的有效性。

关 键 词:Web服务  有限状态机  正则表达式  覆盖准则  测试用例

Method of Web Services Test Case Generation Based on Finite State Machine
LI Sheng-hong,WANG Ren.Method of Web Services Test Case Generation Based on Finite State Machine[J].Computer Era,2009(11):34-37.
Authors:LI Sheng-hong  WANG Ren
Affiliation:(School of Information Management, Jiangxi University of Finance and Economics, Nanchang 330013, China)
Abstract: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...
Keywords:Web services  finite state machine  regular expression  coverage criteria  testing case
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号