Issue |
JNWPU
Volume 36, Number 1, February 2018
|
|
---|---|---|
Page(s) | 149 - 155 | |
DOI | https://doi.org/10.1051/jnwpu/20183610149 | |
Published online | 18 May 2018 |
Method for Automatically Generating Test Cases for Web Services
面向WEB服务的测试用例自动化生成方法
1
School of Graduate, Northwestern Polytechnical Univrsity, Xi'an 710072, China
2
School of Software and Microelectronics, Northwestern Polytechnical University, Xi'an 710072, China
Received:
12
March
2017
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.
摘要
针对目前Web测试主要依靠费时费力且具有一定盲目性和倾向性的人工测试用例设计问题,在Web服务单个操作测试用例生成方法的理论研究工作基础上,提出了一种基于WSDL文档和形式化模型树Web服务操作测试用例的自动生成方法,并以此构建测试工具。实际应用效果表明,该方法能大幅节省人工手动分析WSDL文件中复杂数据类型的时间,并根据各内建数据类型的测试用例手工生成输入消息测试用例的时间,简化测试用例的生成过程,大量替代目前用手工完成的测试用例编写工作。
Key words: Web services / WSDL / formal model tree / test case generation automation
关键字 : Web服务 / WSDL / 形式化模型树 / 测试用例生成自动化
© 2018 Journal of Northwestern Polytechnical University. All rights reserved.
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.