Figure 34: SCA diagram of the IXS service
Figure 35: SCA diagram of the RLUS service
The portal composite participant SCA diagram is shown in Figure 36.
Figure 36: SCA diagram of the PORTAL
Besides modelling the SAUT and the test context architecture, other preliminary activities have been involved in configuring the pilot for test configuration.
In order to be able to exploit Usage Based Testing techniques (UBT) for generating test cases, a usage journal of the services had to be recorded. Usage journal consists of log files tracking all the requests and responses generated by the interaction with the services at transport level in a given period. Ti this purpose, a monitoring tool called AutoQuest, provided by a project partner, has been installed in strategic points of the deployed SoA. Approximately 1 Gb of log data has been recorded and used for UBT tuning procedures.
To fully support automated test generation and execution, so called auxiliary services have been instantiated. These services, called stateViews (and recorded for example as properties in the SCA models), have been implemented and are used to:
Reset the internal state of a service implementation in order to re-execute test cases always from the same initial state
Extract a resume of the service internal state in order to cross compare the correctness of a service interaction with its actual effects of the service implementation's internal state.
Share with your friends: |