期刊文献+

一种面向用户需求的Web服务测试方法 被引量:18

A Testing Method for Web Services Focusing on User Requirements
下载PDF
导出
摘要 Web服务对外只提供接口文档,可利用生成测试用例的信息不够充分,现有方法所生成的用例冗余度高、查错能力有限.文中基于现有Web服务功能和用户协同推荐构建用户需求模型,再使用领域知识和使用场景生成测试用例,并通过实验演示过程,实验结果表明该文方法生成组合Web服务测试用例的有效性.以用户需求驱动组合Web服务测试,既能保证所选服务真正符合用户需求,又可根据用户使用场景来丰富测试需求信息,结合领域知识启发式生成测试用例. This paper plans to add user requirement information into test case generations for Web services because of the existed situation, i. e. , Web services only provide interface documents for outsides, and the information for test case generation used by testers (except developers) is not enough. At present, the existed test case generation methods have high redundant and low efficiency to find bugs. This paper firstly set up user requirement model by clustering the existed WSDL files of Web services and selecting the exact Web services with other users' collaborative recommendation, and then generated test cases with domain knowledge and usage scenes (basic scene and optional scenes) by the extension of user requirement model and the selection of paths from the entry node to the exit node; finally, the workflow and case study indicated the efficiency of our method was better than the method which generated test cases based on variables' types in the WSDL files. Therefore, testing combinational Web services focused on user requirements can ensure the selected Web services matching user requirements, and the usage scenes also can enrich the information for testing, thus the test cases for Web services can be heuristically and more efficiently generated combining with the domain knowledge.
出处 《计算机学报》 EI CSCD 北大核心 2014年第3期512-521,共10页 Chinese Journal of Computers
基金 国家"九七三"重点基础研究发展规划项目基金(2014CB340702) 国家自然科学基金(61272080 61170071 61003020 61021062)资助~~
关键词 组合WEB服务 用户需求 测试用例生成 使用场景 软件测试中图法 combinational Web service user requirement test case generation usage scene software testing
  • 相关文献

参考文献21

  • 1Mei Li-Jun, Chan W K, Tse T H. Data flow testing of service- oriented workflow applications//Proceedings of the Interna- tional Conference on Software Engineering (ICSE 2008). Leipzig, Germany, 2008:371-380.
  • 2Canfora G, Di Penta M. Testing services and service-centric systems: Challenges and opportunities. IT Professional, 2006, 8(2): 10-17.
  • 3Bai Xiao-Ying, Ron S-Kenett. Risk based adaptive group testing of semantic Web serviees//Proeeedings of the 33rd Annual IEEE International Computer Software and Applica- tions Conference (COMPSAC 2009). Seattle, USA, 2009: 485 490.
  • 4Zeina Azmeh, Maha Driss, Fady Hamoui, et al. Selection of composable Web services driven by user requirements// Proceedings of the 9th International Conference on Web Services (ICWS 2011). Washington DC, USA, 2011= 395 402.
  • 5A1-Masfi E, MahmoudQH. Discovering the best Web service (poster)//Proceedings of the 16th International Conference on WorldWide Web (WWW 2007). Banff, Canada, 2007~ 1257-1258.
  • 6Mohammad Alrifai, Thomass Risse. Combining global opti- mization with local selection for efficient QoS-aware service composition//Proceedings of the World Wide Web Conference (WWW 2009). Madrid, Spain, 2009:881 890.
  • 7Liu Xuan-Zhe, Zhao Qi, Huang Gang, et al. Composing data-driven service mashups with tag-based semantic annota tions//Proeeedings of the 9th International Conference on Web Services(ICWS 2011). Washington DC, USA, 2011: 243-250.
  • 8Xu Lei, Xu Bao-Wen, Chen Lian-Jie, Yang Hong-Ji. Web service discovery based on user requirements//Proceedings ofthe 13th International Workshop on Future Distributed Computing System (FTDCS 2011). Banff, Canada, 2011: 674-679.
  • 9Yu W D, Supthaweesuk P, Aravind D. Trustworthy Web services based on testing//Proceedings of the 2005 IEEE International Workshop on Service-Oriented System Engineering(SOSE~05). Shanghai, China, 2005:159-169.
  • 10Bai Xiao-Ying, Dai Gui-Lan, Xu De-Zheng, Tsai Wei-Tek. A multi-agent based framework for collaborative testing on Web services//Proceedings of the 4th IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems and Second International Workshop on Collaborative Computing, Integration, and Assurance(SEUS-WCCIA~06). Gyeongju, Korea, 2006:205-210.

二级参考文献20

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 2廖军,谭浩,刘锦德.基于Pi-演算的Web服务组合的描述和验证[J].计算机学报,2005,28(4):635-643. 被引量:107
  • 3陈继锋,沈钧毅,王欣峻,刘勇,王志海.一种基于数据流准则的测试数据自动生成算法[J].微电子学与计算机,2007,24(1):5-8. 被引量:6
  • 4李轶,彭楚武,刘一江.土木结构试验网络化方法的研究和实现[J].试验技术与试验机,2007,47(1):9-13. 被引量:2
  • 5Yu W D, Supthaweesuk P, Aravind D. Trustworthy Web services based on testing//Proceedings of the 2005 1EEE International Workshop on Service-Oriented System Engineering(SOSE'05). Shanghai, China, 2005:159-169.
  • 6Canfora G, Di Penta M. Testing services and service-centric systems: Challenges and opportunities. IT Professional, 2006, 8(2): 10-17.
  • 7Li Zhong-Jie, Sun Wei, Jiang Zhong-Bo, Zhang Xin. BPEL4WS unit testing: Framework and implementation// Proceedings of the 2005 IEEE International Conference on Web Services(ICWS'05). Orlando, Florida, USA, 2005: 103-110.
  • 8Wang Yong-Bo, Bai Xiao-Ying, Li Juan-Zi, Huang Ruo-Bo. Ontology-based test case generation for testing Web services//Proceedings of the 8th International Symposium on Autonomous Decentralized Systems (ISADS~ 07). Sedona, Arizona, USA, 20071 43-50.
  • 9Ruth Michael, Tu Sheng-Ru. Concurrency issues in au' 07). Salt Lake City, UT, USA, 2007.. 1142-1143.
  • 10Tsai W T, Chen Y, Paul R. Specification-based verification and validation of Web services and service-oriented operating systems//Proceedings of the 10th IEEE International Workshop on Object-Oriented Real-Time Dependable Systems (WORDS 2005). Sedona, Arizona, USA, 2005:139-147.

共引文献10

同被引文献151

引证文献18

二级引证文献56

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部