JoT: A Jolie Framework for Testing Microservices

Saverio Giallorenzo, Fabrizio Montesi, Marco Peressotti, Florian Rademacher, Narongrit Unwerawattana [2023].
In proceedings of COORDINATION 2023, pp. 172-191.

We present JoT, a testing framework for Microservice Architectures (MSAs) based on technology agnosticism, a core principle of microservices. The main advantage of JoT is that it reduces the amount of work for a) testing for MSAs whose services use different technology stacks, b) writing tests that involve multiple services, and c) reusing tests of the same MSA under different deployment configurations or after changing some of its components (e.g., when, for performance, one reimplements a service with a different technology). In JoT, tests are orchestrators that can both consume or offer operations from/to the MSA under test. The language for writing JoT tests is Jolie, which provides constructs that support technology agnosticism and the definition of terse test behaviours. We present the methodology we envision for testing MSAs with JoT and we validate it by implementing non-trivial test scenario
Additional notes
Best Artefact Award
Cite (BibTeX)
Click to expand
  author       = {Saverio Giallorenzo and
                  Fabrizio Montesi and
                  Marco Peressotti and
                  Florian Rademacher and
                  Narongrit Unwerawattana},
  editor       = {Sung{-}Shik Jongmans and
                  Ant{\'{o}}nia Lopes},
  title        = {JoT: {A} Jolie Framework for Testing Microservices},
  booktitle    = {Coordination Models and Languages - 25th {IFIP} {WG} 6.1 International
                  Conference, {COORDINATION} 2023, Held as Part of the 18th International
                  Federated Conference on Distributed Computing Techniques, DisCoTec
                  2023, Lisbon, Portugal, June 19-23, 2023, Proceedings},
  series       = {Lecture Notes in Computer Science},
  volume       = {13908},
  pages        = {172--191},
  publisher    = {Springer},
  year         = {2023},
  url          = {\_10},
  doi          = {10.1007/978-3-031-35361-1\_10},
  timestamp    = {Fri, 07 Jul 2023 23:30:43 +0200},
  biburl       = {},
  bibsource    = {dblp computer science bibliography,}

A PDF is available (possibly a preprint):

Download PDF