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

基于OWL-S的测试用例生成
引用本文:张晓燕,黄宁,余莹.基于OWL-S的测试用例生成[J].北京航空航天大学学报,2008,34(3):327-330.
作者姓名:张晓燕  黄宁  余莹
作者单位:北京航空航天大学,计算机学院,北京,100083;北京航空航天大学,计算机学院,北京,100083;北京航空航天大学,计算机学院,北京,100083
摘    要:提出了一种基于OWL-S(OWL Web Ontology Language for Services)需求模型的测试用例自动生成方法,针对被测系统需求特性产生测试用例,以提高Web服务系统交互测试的自动化程度和效率.测试用例的生成通过3个步骤完成:①对需求特性进行分析,获取与需求特性相关的具体事件集的集合;②对OWL-S描述的应用流程进行搜索,寻找所有与需求特性相关的测试路径;③对测试路径上相关原子过程的IOPE(Inputs,Outputs,Preconditions and Effects)属性及路径条件进行分析,产生相应的测试用例.以金融行业ATM(Automated Teller Machine)示例系统为例对本方法进行了验证,结果表明本方法按要求产生了与需求特性相关的测试用例,覆盖了所有给定的需求特性公式,并有效的检测出被测系统中存在的错误.

关 键 词:测试用例生成  Web服务
文章编号:1001-5965(2008)03-0327-04
收稿时间:2007-06-29
修稿时间:2007年6月29日

OWL-S based test case generation
Zhang Xiaoyan,Huang Ning,Yu Ying.OWL-S based test case generation[J].Journal of Beijing University of Aeronautics and Astronautics,2008,34(3):327-330.
Authors:Zhang Xiaoyan  Huang Ning  Yu Ying
Institution:School of Computer Science and Technology, Beijing University of Aeronautics and Astronautics, Beijing 100083, China
Abstract:To improve the automatization and the efficiency of the Web Service interactive test process,an automated test case generation approach was proposed,based on OWL-S(OWL web ontology language for services) requirement model.Test cases were generated for the requirement properties wanted to be verified,and they were generated in three steps: the requirement property formulae were analyzed to obtain the concrete event collections related to the requirement properties;using the concrete event collections,application flow was searched to find all test paths related to the requirement properties;finally,the IOPE(inputs,outputs,preconditions,effects) properties and conditions of the test paths were analyzed to generate the test cases corresponding to test paths.The approach was experimented on an ATM(automated teller machine) prototype system.The results show that tests cases related with requirement properties are generated as designed,the test cases cover all the given requirement properties,and the system faults are detected effectively.
Keywords:test case generation  Web Service
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《北京航空航天大学学报》浏览原始摘要信息
点击此处可从《北京航空航天大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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