pact-foundation / pact-jvm

JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://docs.pact.io
Apache License 2.0
1.09k stars 480 forks source link

How to isolate publishing the verification results(multiple consumers - single provider) for java micro-services #581

Open rohith-vallabhaneni opened 7 years ago

rohith-vallabhaneni commented 7 years ago

Hi, In Pact Broker, I had a provider which is associated with more than one consumer. When I modify any of the consumer and trigger a webhook which verifies the contract, the provider is getting triggered to verify the pacts. If the test fails because of the present contract, the verification status has been modified as failed for all services which I don't want to be. Is there any way to publish verification result for a specific consumer instead of checking all contracts and publishing the result as failed when one test fails?

uglyog commented 7 years ago

I'm not sure I understand the issue. When you say "the verification status has been modified as failed for all services", do you mean you are seeing all the services marked as verification failed in the broker?

How are you running the verification?