HAL Id: hal-00408517
https://hal.archives-ouvertes.fr/hal-00408517
Submitted on 30 Jul 2009
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
Testing Service Composition Using TGSE tool
Dung Cao, Patrick Felix, Richard Castanet, Ismail Berrada
To cite this version:
Dung Cao, Patrick Felix, Richard Castanet, Ismail Berrada. Testing Service Composition Using TGSE
tool. IEEE 3rd International Workshop on Web Services Testing (WS-Testing 2009). In conjunction
with 7th IEEE International Conference on Web Services (ICWS 2009), Jul 2009, Los Angeles, United
States. WS-Testing 2009 papers will be included in the proceedings of SERVICES 2009 (Part I), which
will be. �hal-00408517�
Testing Service Composition Using TGSE tool ∗
Tien-Dung Cao 1 , Patrick F´elix 1 , Richard Castanet 1 and Ismail Berrada 2
1 LaBRI - CNRS - UMR 5800, University of Bordeaux 1 351 cours de la lib´eration, 33405 Talence cedex, France.
Email: {cao,felix,castanet}@labri.fr
2 L3I, La Rochelle University, 17042 La Rochelle, France.
Email: [email protected]
Abstract
This paper proposes an approach to test (actively and passively) a Web service composition described in BPEL using the TGSE (Test Generation, Simulation and Emula- tion), that is a tool to generate the test cases based on the Communicating System (CS) and implementing of a generic algorithm of generation. For the first step, the BPEL specification is transformed into Timed Extended Fi- nite State Machines (TEFSM) model which enable modeling of BPEL behaviour, timing constraints, its data variables and clocks. On the active testing approach, test case gener- ation is based on simulation where the exploration is guided by test purpose that is a part of CS (i.e. it is also modeled by a TEFSM). Otherwise, the passive testing approach, the TGSE tool will verify a trace that is either correct or incor- rect with specification. This tool also works with the timing constraints on clocks (local and global). It covers test cases not only with transitions but also with values of data vari- ables. Our method is illustrated by an example.
1 Introduction
BPEL (Business Process Execution Language) [1] is an emerging standard language to describe web service com- position behaviour. A BPEL process implements one Web service by specifying its interactions with other Web ser- vices (called partner services). Various approaches for ser- vice composition testing were analyzed by [2] including unit testing, integration testing, black box testing and white box testing of choreographies and orchestrations. On the ac- tive testing approach, several test case generations for BPEL Web services recently have been proposed [6, 7, 9, 10, 20], even though timed test cases [16, 17, 21]. These methods
∗