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.

Highlights

  • Web service testing is based on WSDL document

  • The application results show that this method can greatly save the time of manually analyzing the complex data types

  • the time of generating the test cases according to the test cases of built⁃in da⁃

Read more

Summary

Introduction

关 键 词:Web 服务;WSDL;形式化模型树;测试用例生成自动化 中图分类号:TP391.4 文献标志码:A 文章编号:1000⁃2758(2018)01⁃0149⁃07 伴随 Web 服务的发展,Web 服务测试用例的自 动生成技术已成为研究的焦点。 鉴于 XML Schema 数据类型的复杂性,为 WSDL 服务的输入消息编写 测试用例极为繁琐,目前,针对 Web 服务自动化测 试技术国内外科技人员已做了大量研究,且取得了 一定进展。 输入消息的数据类型展开测试工作。 韩璐和周立 波[8⁃9] 运用文档解析技术为 Web 服务生成测试用例,所提出的 XML Schema 数据模型,并没有依据操 作输入消息的数据类型而定,该测试方案没有提出 从 WSDL 规格说明构建 XML Schema 数据模型的算 法及测试用例自动生成的方法,模型的构建和测试 用例的生成也需全部用手工完成。 对于图 2 中所示 XML Schema 数据类型定义文 档,经上述 算法构建的输入消息模型树如下所示。 图 3 为该模型树的图形表示。

Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call