Abstract
Microservices architecture is drawing more and more attention recently. By dividing the monolithic application into different services, microservices-based applications are more flexible, scalable and portable than traditional applications. However, the unique characteristics of Microservices architecture have also brought significant challenges for software verification. One major challenge is the oracle problem: in the testing of microservices, it is often very difficult to verify the test result given a test input, due to the features of wide distribution, heterogeneity, frequent changes, and numerous runtime behaviors. To tackle such a challenge, in this paper, we investigate how to apply metamorphic testing into the verification of microservices-based applications, which is a simple yet effective approach to oracle problem. Empirical studies are conducted to evaluate the performance of metamorphic testing based on real-world microservice applications, against the baseline random testing technique with a complete oracle. The results show that in the absence of oracles, metamorphic testing can deliver relatively high failure-detection effectiveness. Our work demonstrates that metamorphic testing is both applicable and effective in addressing the oracle problem for the verification of microservices, similar to many other application domains.
Original language | English |
---|---|
Title of host publication | Algorithms and architectures for parallel processing |
Subtitle of host publication | 19th International Conference, ICA3PP 2019 Melbourne, VIC, Australia, December 9–11, 2019 Proceedings, Part I |
Editors | Sheng Wen, Albert Zomaya, Laurence T. Yang |
Place of Publication | Cham: Switzerland |
Publisher | Springer, Springer Nature |
Pages | 138-152 |
Number of pages | 15 |
ISBN (Electronic) | 9783030389918 |
ISBN (Print) | 9783030389901 |
DOIs | |
Publication status | Published - 2020 |
Event | International Conference on Algorithms and Architectures for Parallel Processing (19th : 2019) - Melbourne, Australia Duration: 9 Dec 2019 → 11 Dec 2019 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 11944 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | International Conference on Algorithms and Architectures for Parallel Processing (19th : 2019) |
---|---|
Abbreviated title | ICA3PP 2019 |
Country/Territory | Australia |
City | Melbourne |
Period | 9/12/19 → 11/12/19 |
Keywords
- Automatic test case generation
- Microservice
- Metamorphic Testing
- Mutation testing
- Software verification