论文:2018,Vol:36,Issue(1):149-155
引用本文:
侯俊, 周红, 马春燕, 郑江滨. 面向WEB服务的测试用例自动化生成方法[J]. 西北工业大学学报
Hou Jun, Zhou Hong, Ma Chunyan, Zheng Jiangbin. Method for Automatically Generating Test Cases for Web Services[J]. Northwestern polytechnical university

面向WEB服务的测试用例自动化生成方法
侯俊1, 周红2, 马春燕2, 郑江滨2
1. 西北工业大学 研究生院, 陕西 西安 710072;
2. 西北工业大学 软件与微电子学院, 陕西 西安 710072
摘要:
针对目前Web测试主要依靠费时费力且具有一定盲目性和倾向性的人工测试用例设计问题,在Web服务单个操作测试用例生成方法的理论研究工作基础上,提出了一种基于WSDL文档和形式化模型树Web服务操作测试用例的自动生成方法,并以此构建测试工具。实际应用效果表明,该方法能大幅节省人工手动分析WSDL文件中复杂数据类型的时间,并根据各内建数据类型的测试用例手工生成输入消息测试用例的时间,简化测试用例的生成过程,大量替代目前用手工完成的测试用例编写工作。
关键词:    Web服务    WSDL    形式化模型树    测试用例生成自动化   
Method for Automatically Generating Test Cases for Web Services
Hou Jun1, Zhou Hong2, Ma Chunyan2, Zheng Jiangbin2
1. School of Graduate, Northwestern Polytechnical Univrsity, Xi'an 710072, China;
2. School of Software and Microelectronics, Northwestern Polytechnical University, Xi'an 710072, China
Abstract:
Because manual test case design is time-consuming and laborious and has certain blindness and inclination, Web service testing is based on WSDL document and formal model tree automatic generation. The theoretical research and Web service single operation test case generation method. Web service operation test case method, and to build test tools. The application results show that this method can greatly save the time of manually analyzing the complex data types in WSDL files and the time of generating the test cases according to the test cases of built-in data types. It simplifies the generation of test cases, and prepares test cases.
Key words:    Web services    WSDL    formal model tree    test case generation automation   
收稿日期: 2017-03-12     修回日期:
DOI:
基金项目: 国家自然科学基金(61502382)与西北工业大学研究生创意创新种子基金(Z2016041)资助
通讯作者:     Email:
作者简介: 侯俊(1975-),西北工业大学副研究员、博士,主要从事数据融合、管理信息化研究。
相关功能
PDF(1423KB) Free
打印本文
把本文推荐给朋友
作者相关文章
侯俊  在本刊中的所有文章
周红  在本刊中的所有文章
马春燕  在本刊中的所有文章
郑江滨  在本刊中的所有文章

参考文献:
[1] Mouli Varsha R, Jevitha K P. Web Services Attacks and Security——A Systematic Literature Review[J]. Procedia Computer Science,2016,93:870-877
[2] Ji S, Li B, Zhang P. Test Case Selection for Data Flow Based Regression Testing of BPEL Composite Services[C]//IEEE International Conference on Services Computing, 2016:547-554
[3] Singal P, Mishra A K, Singh L. Test Case Selection for Regression Testing of Applications Using Web Services Based on WSDL Specification Changes[C]//ICCCA, 2015:908-913
[4] 李吟. 基于接口契约的有状态Web服务用例集生成[J]. 计算机研究与发展,2017(3):609-622 Li Yin. Test Suite Generating for Stateful Web Services Using Interface Contract[J]. Journal of Computer Research and Development, 2017(3):609-622(in Chinese)
[5] 李吟,方建勇. 面向需求覆盖的Web服务自动化测试框架[J]. 计算机科学与探索, 2017, 11(11):1747-1763 Li Yin, Fang Jianyong. Requirement Coverage Oriented Automatic Testing Framework for Web Services[J]. Journal of Frontiers of Computer Science and Technology, 2017, 11(11):1747-1763(in Chinese)
[6] 庄梅玲. Yeepay接口自动化测试系统的设计与实现[D]. 南京:南京大学,2016 Zhuang Meiling. Test Design and Implementation of Yeepay's Automated System of API[D]. Nanjing, Nanjing University, 2016(in Chinese)
[7] 张卉. Web应用系统自动化软件测试技术研究[D]. 曲阜:曲阜师范大学,2016 Zhang Hui. Research on Web Application System Automation Software Testing Technology[D]. Qufu, Qufu University,2016(in Chinese)
[8] 韩璐. 基于Web用户行为的测试用例生成技术研究与实现[D]. 郑州:郑州大学,2016 Han Lu, Research and Implementation of Test Case Generation Technology Based on Web Users' Behavior[D]. Zhengzhou, Zhengzhou University,2016(in Chinese)
[9] 周立波. 基于文档解析和约束求解的组合Web服务测试用例生成[D]. 南京:南京大学,2015 Zhou Libo. Composite Web Service Test Cases Generation Based on Parsing XML Documents and Solving Constraints[D]. Nanjing, Nanjing University,2015(in Chinese)