期刊文献+

用户需求驱动的Web服务测试 被引量:4

Testing Web Services Based on User Requirements
下载PDF
导出
摘要 Web服务涉及开发者、提供者、注册中心、用户等多方,各方测试目的、所掌握的资源以及所使用的测试方法各异.以用户需求来驱动Web服务测试,更切合现状且能提升测试效率.文中建立了用户需求特征模型,引入层次关系、控制结构、约束条件等要素;对照目标级、服务组合、原子服务需求,分别进行基于等价类划分、数据流分析和变异测试的测试用例生成选择;当需求变动时,通过波动分析能迅速定位到服务的相关路径和变量,保证回归测试的效率;最后通过行程安排实例展示了工作流程和实验结果. Web service testing can be carried out by developers, providers, integrators, third-party certifiers and users, and different testers have different testing objects, testing resources and testing techniques. In realities, testing Web services in the view of users is more practical than others, and can improve testing efficiency in the case study. The authors set up user requirement model firstly, which began with general and abstract object requirements, and then decomposed and refined into concrete and determined atomic Web services, together with such key ele-ments as layer relationships, control structures and restrict conditions, presented as a tree-style model; Next, test case generation and selection is carried out for the object level, service combination level and atomic service level of the user requirement model, and the corresponding tech- niques are based on equivalence division, data flow analysis and mutation testing; Then, the regression testing would have better efficiency. Based on the dependence relationships in the user requirement model and the fluctuation analysis method, the related paths and variables of Services under testing could be determined quickly; Finally, the workflow and case study are shown with the travel scheduling example.
出处 《计算机学报》 EI CSCD 北大核心 2011年第6期1029-1040,共12页 Chinese Journal of Computers
基金 国家"九七三"重点基础研究发展规划项目基金(2009CB320703) 国家自然科学基金(60873050 90818027 61003020 91018005) 武汉大学软件工程国家重点实验室开放基金(SKLSE20080717)资助
关键词 WEB服务测试 用户需求 测试用例生成 依赖性分析 回归测试 Web service testing user requirement test case generation dependence analysis regression testing
  • 相关文献

参考文献18

  • 1Yu 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.
  • 2Canfora G, Di Penta M. Testing services and service-centric systems: Challenges and opportunities. IT Professional, 2006, 8(2): 10-17.
  • 3杨利利,李必信.Web服务测试问题综述[J].计算机科学,2008,35(9):258-265. 被引量:20
  • 4Li 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.
  • 5Wang 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.
  • 6Ruth Michael, Tu Sheng-Ru. Concurrency issues in au' 07). Salt Lake City, UT, USA, 2007.. 1142-1143.
  • 7廖军,谭浩,刘锦德.基于Pi-演算的Web服务组合的描述和验证[J].计算机学报,2005,28(4):635-643. 被引量:107
  • 8Tsai 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.
  • 9姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 10Wang Rui, Huang Ning. Requirement model-based mutation testing for Web service/ /Proceedings of the 4th International Conference on Next Generation Web Services Practices (NWES's 08). Seoul, Korea,2008:71-76.

二级参考文献81

  • 1黄宁,余莹,张大勇.Web服务软件测试技术的研究与实现[J].计算机工程与应用,2004,40(35):147-149. 被引量:18
  • 2张文修,魏玲,祁建军.概念格的属性约简理论与方法[J].中国科学(E辑),2005,35(6):628-639. 被引量:195
  • 3张成文,苏森,陈俊亮.基于遗传算法的QoS感知的Web服务选择[J].计算机学报,2006,29(7):1029-1037. 被引量:103
  • 4王子元,聂长海,徐宝文,史亮.相邻因素组合测试用例集的最优生成方法[J].计算机学报,2007,30(2):200-211. 被引量:25
  • 5章晓芳,徐宝文,聂长海,史亮.一种基于测试需求约简的测试用例集优化方法[J].软件学报,2007,18(4):821-831. 被引量:59
  • 6Looker N., Xu J. Assessing the dependability of SOAP RPC-based Web services by fault injection. In: Proceedings of the 9th IEEE International Workshop on Object-Oriented Real-Time Dependable Systems, Capri Island, Italy, 2003, 163~170
  • 7Offutt J., Jin Z., Pan J. The dynamic domain reduction approach to test data generation. Software-Practice and Experience, 1999, 29(2): 167~193
  • 8Fabbri S.C.P.F., Maldonado J.C., Sugeta T., Masiero P.C. Mutation testing applied to validate specifications based on statecharts. In: Proceedings of the 10th International Symposium on Software Reliability Engineering, Florida, USA, 1999, 210~219
  • 9Mandrioli D., Morasca S., Morzenti A. Generating test cases for real-time systems from logic specifications. ACM Transactions on Computer Systems, 1995, 13(4): 365~398
  • 10Lee S.C., Offutt J. Generating test cases for XML-based Web component interactions using mutation analysis. In: Proceedings of the 12th International Symposium on Software Reliability Engineering, Hong Kong, China, 2001, 200~209

共引文献221

同被引文献50

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 2李曼,王大治,杜小勇,王珊.基于领域本体的Web服务动态组合[J].计算机学报,2005,28(4):644-650. 被引量:141
  • 3牟凯,顾明.基于UML活动图的测试用例自动生成方法研究[J].计算机应用,2006,26(4):844-846. 被引量:18
  • 4侯丽珊,金芝,吴步丹.需求驱动的Web服务建模及其验证:一个基于本体的方法[J].中国科学(E辑),2006,36(10):1189-1219. 被引量:11
  • 5Erl T.SOA概念、技术与设计[M].王满红,陈荣华译.北京:机械工业出版社,2007.
  • 6ITU. The Intemet of things[ EB/OL]. (2005-11-02). http://www. itu. int/osg/intemetofthings/Intemet of Things summary, pdf.
  • 7Barry&Associates Inc. Service-oriented architecture definition [ EB/ OL ]. http ://www. service-architecture, corn/web-services/articles/ service-oriented_architecture soa definition, html.
  • 8BROWNPC.SOA实践指南:应用整体架构[M].北京:机械工业出版社.2009.
  • 9LIU Yu-tu, NGU A H, ZENG L Z. QoS computation and policing in dynamic Web service selection[ C]//Proc of the 13th International World Wide Web Conference. New York: ACM Press,2004:66-73.
  • 10TAO Fei, ZHAO Dong-ming, HU Ye-fa, et al. Resource service composition and its optimal selection based on particle swarm optimization in manufacturing grid system[ J]. IEEE Trans on Industrial Informatics,2008,4(4) :315-327.

引证文献4

二级引证文献26

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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