Simulators are tools that acts as connection partner in order to test a SUT behaviour. Simulators emulate the behaviour of an SUT implementing a specific combination of actor/profile
Gazelle communicates with the simulators using web services calls. A simulator thus needs to expose some specific webservice API. The API allow gazelle to inform the simulator of the test instance participants and to provide relevant participants configuration to the simulator and to ask the simulator about feedback of the message exchanged between the simulator and the other test participants.
All simulators should have the method startTestInstance, to create a new interaction between the simulator and a system under test. After establishing a communication with the simulator, gazelle sent configuration of partners of the simulator on the test using another web service method: setTestPartenerConfiguration. If the simulator is an initiator, gazelle use the web service method sendMessage to force the simulator to execute the test.
Simulators currently available are :
To ease the development of simulators, we have developed java abstract classes and interfaces that can be extended and implemented by a new simulator project.
Extending the class and implementing the interface provides all webservice communication with gazelle test engine.
The project to extend is located on the INRIA Forge in the Gazelle project and is named : GSCommon-ejb.
In order to get started please read or download the Java Doc for GSCommon-ejb
The source can be downloaded or fetch from the forge :
In addition to the abstract classes and the interfaces we have developed a template projects that extends and implements the interactions with gazelle test engine. This project is available at gforge. Sources can be checked out with the following commands :
Javadoc is available online
For those who prefers sources and documentation are available for download.