Applying Model Checking to Generate Model-Based Integration Tests from Choreography Models

Choreography models describe the communication protocols between services. Testing of service choreographies is an important task for the quality assurance of service-based systems as used e.g. in the context of service-oriented architectures (SOA). The formal modeling of service choreographies enables a model-based integration testing (MBIT) approach. We present MBIT methods for our service choreography modeling approach called Message Choreography Models (MCM). For the model-based testing of service choreographies, MCMs are translated into Event-B models and used as input for our test generator which uses the model checker ProB.

[1]  Thierry Heuillard,et al.  AGEDIS Case Studies: Model-Based Testing in Industry , 2003 .

[2]  Abz,et al.  Abstract State Machines, B and Z, First International Conference, ABZ 2008, London, UK, September 16-18, 2008. Proceedings , 2008, ABZ.

[3]  Jean-Raymond Abrial,et al.  Refinement, Decomposition, and Instantiation of Discrete Models: Application to Event-B , 2007, Fundam. Informaticae.

[4]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[5]  Thierry Jéron,et al.  TGV : theory , principles and algorithms A tool for the automatic synthesis of conformance test cases for non-deterministic reactive systems , 2004 .

[6]  Anis Charfi,et al.  Precise Steps for Choreography Modeling for SOA Validation and Verification , 2008, 2008 IEEE International Symposium on Service-Oriented System Engineering.

[7]  Ina Schieferdecker,et al.  Viewpoints for modeling choreographies in service-oriented architectures , 2009, 2009 Joint Working IEEE/IFIP Conference on Software Architecture & European Conference on Software Architecture.

[8]  Michael J. Butler,et al.  A Roadmap for the Rodin Toolset , 2008, ABZ.

[9]  Jan Tretmans,et al.  TorX: Automated Model-Based Testing , 2003 .

[10]  A. Jefferson Offutt,et al.  Integration testing of object‐oriented components using finite state machines , 2006, Softw. Test. Verification Reliab..

[11]  Elaine J. Weyuker,et al.  Testing Component-Based Software: A Cautionary Tale , 1998, IEEE Softw..

[12]  Stefania Gnesi,et al.  FME 2003: Formal Methods: International Symposium of Formal Methods Europe, Pisa, Italy, September 8-14, 2003. Proceedings , 2003, Lecture Notes in Computer Science.

[13]  Michael Leuschel,et al.  The High Road to Formal Validation: , 2008, ABZ.

[14]  Alfred V. Aho,et al.  An optimization technique for protocol conformance test generation based on UIO sequences and rural Chinese postman tours , 1991, IEEE Trans. Commun..

[15]  Michael J. Butler,et al.  Decomposition Structures for Event-B , 2009, IFM.

[16]  Bruno Legeard,et al.  LEIRIOS Test Generator: Automated Test Generation from B Models , 2007, B.

[17]  Aamer Nadeem,et al.  A state-based approach to integration testing based on UML models , 2007, Inf. Softw. Technol..

[18]  Colin F. Snook,et al.  UML-B: Formal modeling and design aided by UML , 2006, TSEM.

[19]  Michael J. Butler,et al.  Automatic Testing from Formal Specifications , 2007, TAP.

[20]  Sebastian Wieczorek,et al.  Model-Based Integration Testing of Enterprise Services , 2009, 2009 Testing: Academic and Industrial Conference - Practice and Research Techniques.

[21]  Ian J. Hayes,et al.  FM 2005: Formal Methods, International Symposium of Formal Methods Europe, Newcastle, UK, July 18-22, 2005, Proceedings , 2005, FM.

[22]  Fabrice Bouquet,et al.  BZ-testing-tools: A tool-set for test generation from Z and B using constraint logic programming , 2002 .

[23]  Michael J. Butler,et al.  ProB: A Model Checker for B , 2003, FME.

[24]  Michael J. Butler,et al.  Combining CSP and B for Specification and Property Verification , 2005, FM.

[25]  Jean-Raymond Abrial,et al.  The B-book - assigning programs to meanings , 1996 .

[26]  Ina Schieferdecker,et al.  Test Data Provision for ERP Systems , 2008, 2008 1st International Conference on Software Testing, Verification, and Validation.

[27]  Michael J. Butler,et al.  ProTest: An Automatic Test Environment for B Specifications , 2004, MBT.