4 CONCLUSION
We proposed in this paper a solution to generate test
cases for communicating systems from event logs.
Instead of proposing a basic ”record and replay”
technique or an approach combining model learning
and MbT, we presented algorithms allowing to ex-
tract knowledge by means of an expert system and
generate an initial test suite made up of IOLTS test
cases. By doing this, we intend to extract test ver-
dicts, save computation time, and avoid the impreci-
sion brought by models produced with passive model
learning techniques. Besides, we proposed 11 test
case mutation operators to expand the initial test case
set.
We have implemented this approach in a tool pro-
totype. Due to lack of room, we briefly summarise
its features here: the tool is specialised for Web ser-
vice compositions. It takes event logs as inputs and
generates sessions by means of the tool presented in
(Salva et al., 2021). The tool Drools is the expert sys-
tem used to analyse sessions. Then, our tools pro-
duces test cases written with the Citrus framework
2
.
A complete evaluation will be presented in a future
work.
REFERENCES
Aouadi, M. H. E., Toumi, K., and Cavalli, A. R. (2015).
An active testing tool for security testing of distributed
systems. In 10th International Conference on Avail-
ability, Reliability and Security, ARES 2015, Toulouse,
France, August 24-27, 2015, pages 735–740. IEEE
Computer Society.
Beschastnikh, I., Brun, Y., Ernst, M. D., and Krishna-
murthy, A. (2014). Inferring models of concurrent
systems from logs of their behavior with csight. In
Proceedings of the 36th International Conference on
Software Engineering, ICSE 2014, pages 468–479,
New York, NY, USA. ACM.
Cao, D., Felix, P., Castanet, R., and Berrada, I. (2009). Test-
ing Service Composition Using TGSE tool. In Press,
I. C. S., editor, IEEE 3rd International Workshop on
Web Services Testing (WS-Testing 2009), Los Ange-
les, United States. IEEE Computer Society Press.
Hierons, R. (2001). Testing a distributed system: gener-
ating minimal synchronised test sequences that detect
output-shifting faults. Information and Software Tech-
nology, 43(9):551–560.
Kanso, B., Aiguier, M., Boulanger, F., and Touil, A. (2010).
Testing of Abstract Components. In ICTAC 2010 - In-
ternational Conference on Theoretical Aspect of Com-
puting., pages 184–198, Brazil.
2
https://citrusframework.org
K
¨
oroglu, Y. and 0001, A. S. (2018). TCM: Test Case Muta-
tion to Improve Crash Detection in Android. In Pro-
ceedings of the 21st International Conference on Fun-
damental Approaches to Software Engineering, pages
264–280. Springer.
Mariani, L. and Pastore, F. (2008). Automated identification
of failure causes in system logs. In Software Reliabil-
ity Engineering, 2008. ISSRE 2008. 19th International
Symposium on, pages 117–126.
Paiva, A., Restivo, A., and Almeida, S. (2020). Test case
generation based on mutations over user execution
traces. Software Quality Journal, 28.
Petrenko, A. and Avellaneda, F. (2019). Learning commu-
nicating state machines. In Tests and Proofs, page
112–128, Berlin, Heidelberg. Springer-Verlag.
Phillips, I. C. C. (1987). Refusal testing. Theor. Comput.
Sci., 50:241–284.
Salva, S. and Blot, E. (2020). Cktail: Model learning
of communicating systems. In Ali, R., Kaindl, H.,
and Maciaszek, L. A., editors, Proceedings of the
15th International Conference on Evaluation of Novel
Approaches to Software Engineering, ENASE 2020,
Prague, Czech Republic, May 5-6, 2020, pages 27–
38. SCITEPRESS.
Salva, S., Provot, L., and Sue, J. (2021). Conversation ex-
traction from event logs. In Cucchiara, R., Fred, A.
L. N., and Filipe, J., editors, Proceedings of the 13th
International Joint Conference on Knowledge Discov-
ery, Knowledge Engineering and Knowledge Manage-
ment, IC3K 2021, Volume 1: KDIR, Online Streaming,
October 25-27, 2021, pages 155–163. SCITEPRESS.
Torens, C. and Ebrecht, L. (2010). Remotetest: A frame-
work for testing distributed systems. In 2010 Fifth In-
ternational Conference on Software Engineering Ad-
vances, pages 441–446.
Ulrich, A. and K
¨
onig, H. (1999). Architectures for Test-
ing Distributed Systems, pages 93–108. Springer US,
Boston, MA.
van der Bijl, M., Rensink, A., and Tretmans, J. (2004).
Compositional testing with ioco. In Petrenko, A. and
Ulrich, A., editors, Formal Approaches to Software
Testing, pages 86–100, Berlin, Heidelberg. Springer
Berlin Heidelberg.
ICSOFT 2022 - 17th International Conference on Software Technologies
220