JoT

A Jolie Framework for Testing Microservices.

repository

Description

JoT is 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.

Papers

Giallorenzo, S., Montesi, F., Peressotti, M., Rademacher, F. and Unwerawattana, N. 2023. JoT: A Jolie Framework for Testing Microservices. Coordination Models and Languages (2023), 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 scenarios taken from a reference MSA from the literature (Lakeside Mutual).

@inproceedings{GMPRU23,
  author = {Giallorenzo, Saverio and Montesi, Fabrizio and Peressotti, Marco and Rademacher, Florian and Unwerawattana, Narongrit},
  editor = {Jongmans, Sung{-}Shik and Lopes, Ant{\'{o}}nia},
  title = {JoT: {A} Jolie Framework for Testing Microservices},
  booktitle = {Coordination Models and Languages},
  series = {Lecture Notes in Computer Science},
  volume = {13908},
  pages = {172--191},
  publisher = {Springer},
  year = {2023},
  url = {https://doi.org/10.1007/978-3-031-35361-1\_10},
  doi = {10.1007/978-3-031-35361-1\_10},
  isbn = {978-3-031-35361-1}
}