Schwarz GD, Quast F, Riehle D (2025)
Publication Type: Journal article
Publication year: 2025
Book Volume: 35
Article Number: e70006
Journal Issue: 5
URI: https://onlinelibrary.wiley.com/doi/full/10.1002/stvr.70006
DOI: 10.1002/stvr.70006
Open Access Link: https://onlinelibrary.wiley.com/doi/epdf/10.1002/stvr.70006
Integrating services in service-based architectures is a major concern and challenge to their developers. A key problem is that today's compilers cannot ensure syntactic interoperability of web APIs. Without further help, invalid calls surface only at runtime. Microservice-based architectures exacerbate this problem due to their use of polyglot software stacks and independent deployments. As a result, maintaining API compatibility with consumers has become increasingly complex. This study presents a systematic literature review on consumer-driven contract testing, a testing technique that ensures syntactic compatibility between microservices through isolated test execution. We develop a theory on when and how to use consumer-driven contract testing to address the problem of syntactic interoperability. We build out our theory with the insights of an action research study, contributing rare empirical data to the field. Our theory posits that consumer-driven contract testing can ensure syntactic interoperability between microservices and complement the testing strategy of such systems. The action research study confirmed this and revealed that introducing consumer-driven contract testing can promote the design and development of higher-quality APIs and code.
APA:
Schwarz, G.D., Quast, F., & Riehle, D. (2025). Ensuring Syntactic Interoperability Using Consumer-Driven Contract Testing. Software Testing Verification & Reliability, 35(5). https://doi.org/10.1002/stvr.70006
MLA:
Schwarz, Georg Daniel, Felix Quast, and Dirk Riehle. "Ensuring Syntactic Interoperability Using Consumer-Driven Contract Testing." Software Testing Verification & Reliability 35.5 (2025).
BibTeX: Download