Automated testing sequences generation from AUML diagrams: a formal verification of agents' interaction protocols

We present, in this paper, a new technique supporting an automatic generation of testing sequences from Agent UML (AUML) diagrams. The considered diagrams are related to agents' interaction protocols. They are formally described using the formal specification language Maude. Starting from the Maude specifications generated automatically from the AUML diagrams, we present a systematic and iterative approach for the construction of testing sequences (sequences of rules) for the verification of the interactions between agents in a Multiagent System (MAS). The approach is organised in two major steps: (1) the generation of Reduced Testing Sequences (RTSs) relative to the individual behaviour of each agent (unit testing of an agent), whose behaviour is described using AUML state charts and (2) the generation of Complete Testing Sequences (CTSs) relative to the collective behaviour of agents (social testing), whose collaborative behaviour is described by an AUML sequence diagram. Furthermore, the proposed approach considers several aspects related to the synchronisation between the agents (inter-agents and external).

[1]  Marc-Philippe Huget,et al.  Representing agent interaction protocols with agent UML , 2004, Proceedings of the Third International Joint Conference on Autonomous Agents and Multiagent Systems, 2004. AAMAS 2004..

[2]  Narciso Martí-Oliet,et al.  Maude: specification and programming in rewriting logic , 2002, Theor. Comput. Sci..

[3]  Byung-Sun Lee,et al.  Testing of concurrent programs based on message sequence charts , 1999, 1999 Proceedings International Symposium on Software Engineering for Parallel and Distributed Systems.

[4]  Mourad Badri,et al.  Translating AUML Diagrams into Maude Specifications: A Formal Verification of Agents Interaction Protocols , 2007, J. Object Technol..

[5]  Marian Gheorghe,et al.  Testing Collaborative Agents Defined as Stream X-Machines with Distributed Grammars , 2001, ECAL.

[6]  Erwan Tranvouez,et al.  IAD et ordonnancement, une approche coopérative du réordonnancement par systèmes multi-agents , 2001 .

[7]  Xin Wang,et al.  Generating test oracle for role binding in multi-agent systems , 2003, Tenth Asia-Pacific Software Engineering Conference, 2003..

[8]  H. Van Dyke Parunak,et al.  Representing Agent Interaction Protocols in UML , 2000, AOSE.

[9]  Agostino Poggi,et al.  Multi-Agent Systems Implementation and Testing , 2003 .

[10]  Gul Agha,et al.  A Logical Theory of Concurrent Objects and Its Realization in the Maude Language , 2003 .

[11]  Manfred Broy,et al.  Models, algebras and logic of engineering software , 2003 .

[12]  Roger Duke,et al.  A UML approach to the generation of test sequences for Java-based concurrent systems , 2005, 2005 Australian Software Engineering Conference.

[13]  Lucian Ghirvu Génération automatique de tests de conformité pour les protocoles de télécommunication , 2002 .

[14]  Cécile Péraire,et al.  Test selection for object-oriented software based on formal specifications , 1998, PROCOMET.

[15]  D. Kung,et al.  Extending UML to Modeling and Design of Multi-Agent Systems , 2002 .

[16]  Amal El Fallah Seghrouchni,et al.  Modelling, control and validation of multi-agent plans in dynamic context , 2004, Proceedings of the Third International Joint Conference on Autonomous Agents and Multiagent Systems, 2004. AAMAS 2004..

[17]  Uirá Kulesza,et al.  Unit testing in multi-agent systems using mock agents and aspects , 2006, SELMAS '06.

[18]  Bernhard Bauer,et al.  Agent UML : A formalism for specifying multiagent interaction , 2001 .

[19]  Bruno Legeard,et al.  Generation of test sequences from formal specifications: GSM 11‐11 standard case study , 2004, Softw. Pract. Exp..

[20]  Carlos Ramos,et al.  ISEM: a multiagent Simulator for testing agent market strategies , 2006, IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews).

[21]  Michael Luck,et al.  Interaction protocols in Agentis , 1998, Proceedings International Conference on Multi Agent Systems (Cat. No.98EX160).

[22]  Jean-Pierre Briot,et al.  Principes et architecture des systèmes multi-agents , 2000 .