Ensuring Syntactic Interoperability Using Consumer‐Driven Contract Testing

ABSTRACT 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.

Authors

Institutions

Publication Details

Journal
Software Testing Verification and Reliability
Published
2025-06-19
DOI
https://doi.org/10.1002/stvr.70006
Citations
1
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
1.49

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Ensuring Syntactic Interoperability Using Consumer‐Driven Contract Testing

Georg‐Daniel Schwarz, Dirk Riehle, Felix Quast
1 citations
Software Testing Verification and Reliability
Software System Performance and Reliability
1.49
article

Ensuring Syntactic Interoperability Using Consumer‐Driven Contract Testing

Georg‐Daniel Schwarz, Dirk Riehle, Felix Quast
article en
1 citations

Abstract

ABSTRACT 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.

Software Testing Verification and ReliabilityVol. 35(5)
Friedrich-Alexander-Universität Erlangen-Nürnberg (DE)
Deutsche Forschungsgemeinschaft, Bundesministerium für Bildung und Forschung
Industry, innovation and infrastructure
Openalex Percentile: Top 16%
Software System Performance and Reliability
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.