期刊文献+

Generating test case specifications of web service composition using model checking

Generating test case specifications of web service composition using model checking
下载PDF
导出
摘要 Model checking techniques have been widely used in verifying web service compositions to ensure the trustworthi- ness. However, little research has focused on testing web services. Based on the research of model checking techniques~ we propose a model checking based approach for testing web service composition which is described by using the web services choreography description language (WS-CDL). According to worldwide web consortium (W3C) candidate recommendation, the WS-CDL specification provides a language for characterizing interactions between distinct web services using XML. Since the behaviors of web service composition are asynchronous, distributed, low-coupled and platform independent, we employ the guarded automata (GA) model for specifying the composition described in WS-CDL and using the simple promela interpreter (SPIN) model checker for detecting the collaborations of web services. Test cases can be transformed from counterexamples generated by SPIN using adequacy criteria. In this paper we apply the transition coverage criterion for generating counterex- amples. To illustrate our approach, we set "E-commerce service system" as an example for demonstrating how test cases can be generated using SPIN for compositions specified in WS-CDL. Model checking techniques have been widely used in verifying web service compositions to ensure the trustworthi- ness. However, little research has focused on testing web services. Based on the research of model checking techniques~ we propose a model checking based approach for testing web service composition which is described by using the web services choreography description language (WS-CDL). According to worldwide web consortium (W3C) candidate recommendation, the WS-CDL specification provides a language for characterizing interactions between distinct web services using XML. Since the behaviors of web service composition are asynchronous, distributed, low-coupled and platform independent, we employ the guarded automata (GA) model for specifying the composition described in WS-CDL and using the simple promela interpreter (SPIN) model checker for detecting the collaborations of web services. Test cases can be transformed from counterexamples generated by SPIN using adequacy criteria. In this paper we apply the transition coverage criterion for generating counterex- amples. To illustrate our approach, we set "E-commerce service system" as an example for demonstrating how test cases can be generated using SPIN for compositions specified in WS-CDL.
出处 《Journal of Shanghai University(English Edition)》 CAS 2011年第5期409-414,共6页 上海大学学报(英文版)
基金 Project supported by the Open Foundation of State Key Laboratory of Software Engineering(Grant No.SKLSE20080712) the National Natural Science Foundation of China(Grant No.60970007) the National Basic Research Program of China(Grant No.2007CB310800) the Shanghai Leading Academic Discipline Project(Grant No.J50103) the Science and Technology Commission of Shanghai Municipality(Grant No.09DZ2272600)
关键词 model-based testing web services choregraphy description language (WS-CDL) model checking simple promela interpreter (SPIN) test cases model-based testing, web services choregraphy description language (WS-CDL), model checking, simple promela interpreter (SPIN), test cases
  • 相关文献

参考文献22

  • 1W3C working group. Web services architecture [EB/OL]. (2004-9-11)[2011-7-15]. http://www.w3.org/ TR/ws-arch/. 被引量:1
  • 2MICHAEL P. Web services: Principles and technology [M]. New Jersey: Prentic Hall, 2007: 784. 被引量:1
  • 3TSAI W T, WEI X, CHEN Y O, XIAO B N, PAUL R, HUANG H. Developing and assuring trustworthy web services [C]// Proceedings of 7th International Sym- posium on Autonoumous Decentralized Systems, Los Alanitos, USA. 2005: 43-50. 被引量:1
  • 4GARCfA F J, DE LA RIVA C, TUYA J. Generation of conformance test suites for compositions of web services using model checking [C]// Proceedings of Testing: Academic and Industrial Conference-Practice and Research Techniques, Los Alanitos, USA. 2006: 127- 130. 被引量:1
  • 5FOSTER H, UCHITEL S, MAGEE J, KRAMER J. Model- based verification of web service compositions[C]// Proceedings of 18th IEEE International Conference on Automated Software Engineering, Los Alanitos, USA. 2003: 152-161. 被引量:1
  • 6SCHMIDT K, STAHL C. A Petri net semantic for BPEL4WS-validation and application [C]// Proceedings of the 11th Workshop on Algorithms and Tools for Petri Nets, Paderborn, German. 2004: 1-6. 被引量:1
  • 7SCHMIDT K. A low level analyser [C]// Lectrue Notes in Computer Science: 21st International Conference on Application and Theory of Petri Nets, Aarhus, Denmark. 2000: 465-474. 被引量:1
  • 8CARBONE M, HONDA K, YOSHIDA N, MILNER R, BROWN G, STEVE R T. A theoretical basis of communication-centred concurrent programming [R]. Technical Report, 2006. 被引量:1
  • 9BULTAN T, FU X, SU J W. Analyzing conversation of web services [J]. IEEE Internet Computing, 2006, 10(1): 18-25. 被引量:1
  • 10Fu X, BULTAN T, SU J W. Synchronizability of conversations among web services [J]. IEEE Transactions on Software Engineering, 2005, 31(12): 1042-1055. 被引量:1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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