What Is a Contract Test Consumer?
A contract test consumer is the component in consumer-driven contract testing that defines what it needs from a service. By running against a mock, it captures the requests it sends and the responses it relies on into a contract artifact. That contract then becomes the specification the provider must satisfy.
Why it matters
Letting the consumer state its real expectations keeps a service honest about what its clients actually depend on. The recorded contract is what the provider side later replays to verify compatibility.
Related guides
What Is a Contract Test Provider?A contract test provider is the service side of a contract test that replays a consumer contract against the…
What Is a Pact Broker?A pact broker is a service that stores and shares contract test artifacts between consumers and providers, tr…
What Is Breaking Change Detection?Breaking change detection is automated analysis that compares a change against a prior version to flag modifi…