Verification of Microservices Using Metamorphic Testing
Version 3 2024-09-23, 22:28Version 3 2024-09-23, 22:28
Version 2 2024-06-05, 03:42Version 2 2024-06-05, 03:42
Version 1 2020-04-02, 09:17Version 1 2020-04-02, 09:17
conference contribution
posted on 2024-09-23, 22:28 authored by G Luo, X Zheng, H Liu, R Xu, Dinesh Nagumothu, Ranjith Nagendra Kumar JanapareddiRanjith Nagendra Kumar Janapareddi, E Zhuang, Xiao LiuXiao Liu© 2020, Springer Nature Switzerland AG. 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.
History
Volume
11944Pagination
138-152Location
Melbourne, Vic.Start date
2019-12-09End date
2019-12-11ISSN
0302-9743eISSN
1611-3349ISBN-13
9783030389901Publication classification
E1 Full written paper - refereedEditor/Contributor(s)
Wen S, Zomaya A, Yang LTTitle of proceedings
ICA3PP 2019 : Proceedings of the 13th Algorithms and Architecture for Parallel Processing 2019 Conference.Event
Algorithms and Architectures for Parallel Processing. Conference (19th. 2019 : Melbourne, Vic.)Publisher
SpringerPlace of publication
Berlin, GermanySeries
Lecture Notes in Computer ScienceUsage metrics
Categories
No categories selectedKeywords
Licence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC