The company’s platform has been built using a microservices architecture, which means that each service is independently developed and deployed.
As the platform expanded, the company recognized the importance of designing efficient contracts in a consumer-driven manner to ensure effective communication among various services. Additionally, they needed to safeguard against changes in one service adversely affecting the functionality of another service.
Consumer-Driven Contracts: When designing an API, the syntax and semantics are designed by the API producer team in close collaboration with the teams that will consume the API, as opposed to the API producer team making assumptions based on the data model of how the API should look. The API consumer teams drive the shape of the APIs.
To prevent their mocks from becoming outdated and to meet their aggressive deadlines, the company has decided to test the API mocks by sending requests to both the mocks and the actual microservices. The client was in search of automated testing experts who could help them with these testing requirements and increase confidence that a new release of a microservice would not introduce breaking API changes in the production environment.