WSDL-based automatic test case generation for Web services testing

Xiaoying Bai, Wenli Dong, W. Tsai, Yinong Chen
{"title":"WSDL-based automatic test case generation for Web services testing","authors":"Xiaoying Bai, Wenli Dong, W. Tsai, Yinong Chen","doi":"10.1109/SOSE.2005.43","DOIUrl":null,"url":null,"abstract":"Web services promote the specification based cooperation and collaboration among distributed applications in an open environment. To ensure the quality of the services that are published, bound, invoked and integrated at runtime, test cases have to be automatically generated and testing executed, monitored and analyzed at runtime. This paper presents the research to generate Web services test cases automatically based on the Web services specification language WSDL (Web Services Description Language), which carries the basic information of a service including its interface operations and the data transmitted. The WSDL file is first parsed and transformed into the structured DOM tree. Then, test cases are generated from two perspectives: test data generation and test operation generation. Test data are generated by analyzing the message data types according to standard XML schema syntax. Operation flows are generated based on the operation dependency analysis. Three types of dependencies are defined: input dependency, output dependency, and input/output dependency. Finally, the generated test cases are documented in XML based test files called service test specification.","PeriodicalId":229065,"journal":{"name":"IEEE International Workshop on Service-Oriented System Engineering (SOSE'05)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-10-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"228","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE International Workshop on Service-Oriented System Engineering (SOSE'05)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SOSE.2005.43","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 228

Abstract

Web services promote the specification based cooperation and collaboration among distributed applications in an open environment. To ensure the quality of the services that are published, bound, invoked and integrated at runtime, test cases have to be automatically generated and testing executed, monitored and analyzed at runtime. This paper presents the research to generate Web services test cases automatically based on the Web services specification language WSDL (Web Services Description Language), which carries the basic information of a service including its interface operations and the data transmitted. The WSDL file is first parsed and transformed into the structured DOM tree. Then, test cases are generated from two perspectives: test data generation and test operation generation. Test data are generated by analyzing the message data types according to standard XML schema syntax. Operation flows are generated based on the operation dependency analysis. Three types of dependencies are defined: input dependency, output dependency, and input/output dependency. Finally, the generated test cases are documented in XML based test files called service test specification.
用于Web服务测试的基于wsdl的自动测试用例生成
Web服务促进了开放环境中分布式应用程序之间基于规范的协作和协作。为了确保在运行时发布、绑定、调用和集成的服务的质量,必须自动生成测试用例,并在运行时执行、监视和分析测试。本文研究了基于Web服务规范语言WSDL (Web services Description language, Web服务描述语言)自动生成Web服务测试用例的方法。WSDL承载了服务的基本信息,包括服务的接口操作和传输的数据。首先解析WSDL文件并将其转换为结构化DOM树。然后,从两个角度生成测试用例:测试数据生成和测试操作生成。测试数据是根据标准XML模式语法分析消息数据类型生成的。操作流是根据操作依赖分析生成的。定义了三种类型的依赖关系:输入依赖关系、输出依赖关系和输入/输出依赖关系。最后,生成的测试用例被记录在称为服务测试规范的基于XML的测试文件中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信