一种基于扩展WSDL的Web服务测试用例自动化生成方法
首发时间:2009-02-19
摘要:软件测试是保证Web 服务质量的重要技术手段。测试数据生成是Web 服务测试的重要内容。由于现有的WSDL缺乏明确的参数语义描述,造成了Web 服务调用方的交互困难,不便于使用与测试。文章基于WSDL语义扩展,提出一种Web 服务的测试用例自动生成方法。首先根据相关国际标准,总结提出简洁规范地扩展WSDL语义的建议规则;然后,解析扩展后的WSDL文档,自动生成合法测试用例模版。本方法符合测试工程的实际需求,实例证明大大降低了用例的冗余度,便利了测试实践。
关键词: 软件测试 Web 服务 扩展WSDL 测试用例生成
For information in English, please click here
A Method of Automated Test Cases Generation for Web Services Based on Extending WSDL
Abstract:Software testing is one of the most important techniques used to assure the quality of Web Services at present. Generating test cases is an important topic in Web Services testing. Yet because of the insufficient information provided by the WSDL file, it brings many difficulties for using and testing of Web Services. Based on extending WSDL files, this paper presents a method of automated test cases generation for Web Services. Firstly, according to relative international standards, we proposed and practiced to extend the WSDL to support clear and semantic information description. Then, through parsing the extended WSDL files, sample of valid test cases can be generated automatically. Detailed experiment proved its superiority.
Keywords: Software testing Web services extending WSDL test cases generation
论文图表:
引用
No.2927320374712350****
同行评议
共计0人参与
勘误表
一种基于扩展WSDL的Web服务测试用例自动化生成方法
评论
全部评论0/1000