Testing Web Services Composition Using the TGSE Tool

This paper proposes an approach to test (actively and passively) Web services composition described in BPEL using TGSE (Test Generation, Simulation and Emulation), that is a tool for generating test cases for Communicating Systems (CS). TGSE implements a generic generation algorithm allowing either test cases derivation or traces checking. It supports the description of one or several components with data and temporal constraints. First, in order to model the BPEL behaviors, the timing constraints, and data variables, the BPEL specification is transformed into the Timed Extended Finite State Machines (TEFSM) model. As our framework can handle both active and passive testing, on the one hand test cases are obtained by stimulating the CS. In this case, the exploration is guided by the use of test purposes modeled by TEFSM (a test purpose is considered as a part of the CS). On the other hand, TGSE can check whether a trace is valid according the specification or not. Finally, the Loan Web Service is used as a case study.

[1]  Yaron Goland,et al.  Web Services Business Process Execution Language , 2009, Encyclopedia of Database Systems.

[2]  Alban Grastien,et al.  Monitoring Web service networks in a model-based approach , 2005, Third European Conference on Web Services (ECOWS'05).

[3]  Ana R. Cavalli,et al.  Two Complementary Tools for the Formal Testing of Distributed Systems with Time Constraints , 2008, 2008 12th IEEE/ACM International Symposium on Distributed Simulation and Real-Time Applications.

[4]  Ana R. Cavalli,et al.  Timed Modeling of Web Services Composition for Automatic Testing , 2007, 2007 Third International IEEE Conference on Signal-Image Technologies and Internet-Based System.

[5]  Xiang Fu,et al.  Analysis of interacting BPEL web services , 2004, WWW '04.

[6]  Raman Kazhamiakin,et al.  Timed modelling and analysis in Web service compositions , 2006, First International Conference on Availability, Reliability and Security (ARES'06).

[7]  Yongyan Zheng,et al.  Analysis of BPEL Data Dependencies , 2007, 33rd EUROMICRO Conference on Software Engineering and Advanced Applications (EUROMICRO 2007).

[8]  Gottfried Wilhelm,et al.  Design and Implementation of a Framework for Testing BPEL Compositions , 2006 .

[9]  Yongyan Zheng,et al.  A Model Checking based Test Case Generation Framework forWeb Services , 2007, Fourth International Conference on Information Technology (ITNG'07).

[10]  Hernán C. Melgratti,et al.  Testing Service Composition , 2007 .

[11]  Javier Tuya,et al.  Generating Test Cases Specifications for BPEL Compositions of Web Services Using SPIN , 2006 .

[12]  Ana R. Cavalli,et al.  Automatic Timed Test Case Generation for Web Services Composition , 2008, 2008 Sixth European Conference on Web Services.

[13]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[14]  Teruo Higashino,et al.  Generating Test Cases for a Timed I/O Automaton Model , 1999, IWTCS.

[15]  Ana R. Cavalli,et al.  A passive testing approach based on invariants: application to the WAP , 2005, Comput. Networks.

[16]  Ismaïl Berrada Modélisation, analyse et test des systèmes communicants à contraintes temporelles : vers une approche ouverte du test , 2005 .

[17]  Francisco Curbera,et al.  Web Services Business Process Execution Language Version 2.0 , 2007 .

[18]  Reiko Heckel,et al.  Automatic Conformance Testing of Web Services , 2005, FASE.

[19]  S. Seshu,et al.  Introduction to the theory of finite-state machines , 1963 .

[20]  Yongyan Zheng,et al.  Automata Semantics and Analysis of BPEL , 2007, 2007 Inaugural IEEE-IES Digital EcoSystems and Technologies Conference.

[21]  Erich J. Neuhold,et al.  Transforming BPEL into annotated deterministic finite state automata for service discovery , 2004, Proceedings. IEEE International Conference on Web Services, 2004..

[22]  A. Cavalli,et al.  Transforming BPEL into Intermediate Format Language for Web Services Composition Testing , 2008, 2008 4th International Conference on Next Generation Web Services Practices.

[23]  Wei Sun,et al.  BPEL4WS unit testing: framework and implementation , 2005, IEEE International Conference on Web Services (ICWS'05).