Questions tagged [pact-broker]

The Pact Broker is an HTTP service that allows teams to exchange consumer contracts for HTTP (and other) services that have been created by the Pact tool.

70 questions
0
votes
1 answer

How to upload consumer contract to official Pact Broker

I can do this using the following pom entry: au.com.dius.pact.provider maven 4.1.17
Cagin Uludamar
  • 372
  • 1
  • 3
  • 16
0
votes
2 answers

"Skipping publishing verification results" error in pact for JUnit 4

When I run JUnit tests, contract tests run as expected but the results are not published to the pact broker. What do I need to do here? Here is the message I see on the console: Skipping publishing verification results for source…
Cagin Uludamar
  • 372
  • 1
  • 3
  • 16
0
votes
1 answer

Why does pact broker cause a timeout error in the database?

Encountered an issue with our pact broker where the endpoint for /for-verification is returning a 500. Traced the error back to the broker with the following error trace. Any help appreciated. PactBroker::Errors::ErrorLogger","message":"Error…
0
votes
1 answer

Pact provider test gets InitializationError but consumer can upload the contract

I'm trying to run a simple provider contract test for a pact uploaded to the pactflow broker by a consumer test which can run without problems on the same PC. When I run the provider test I see this log: 2023-03-03 09:52:35.575 INFO 22944 --- [ …
Cagin Uludamar
  • 372
  • 1
  • 3
  • 16
0
votes
0 answers

git clone git@github.com:pact-foundation/pact_broker.git fails with: OBJ_bsearch entrypoint not found in C:\RailsInstaller\Git\bin\libssl.dll

I'm trying to follow the steps in pact broker documents to play around in my local machine. I've downloaded railsinstaller v3.4.0 and trying to run git clone but getting the error (in Turkish): git-remote-http.exe - Entry Point not…
Cagin Uludamar
  • 372
  • 1
  • 3
  • 16
0
votes
0 answers

Pact Broker UI not visualizing usage of matchingRules and generators

When my PACT contains type matchers only instead of matching concrete values of Strings for example, my PACT Broker UI does not visualize that and thus, raising the impression for the provider that I do expect concrete values from the provider: This…
Stefano L
  • 1,486
  • 2
  • 15
  • 36
0
votes
2 answers

How can I pass can-i-deploy stage in Gitlab?

The error it gives in the can-i-deploy stage in the Pipeline is as follows: The verification between the latest version of BusinessEventConsumerCustomerConsentionPhoneCall with tag phoenix (fd53a677) and version 002bf857 of EarningAPI failed I…
desdemona
  • 449
  • 1
  • 4
  • 10
0
votes
2 answers

pact.io: Select specific endpoints for provider test

We are running a microservice architecture and want to set up contract testing in our project. Our consumers do not know which request is handled by which microservice. We want our microservices to select the interactions from the pacts that they…
eugenk
  • 472
  • 4
  • 11
0
votes
1 answer

Backward Compatibility of Pacts

How can I verify the pacts against all the different consumer versions. Whenever I try to test the pact , it only verifies the latest one. Is there a way to also verify the older consumer versions. I also tried with the ConsumerVersionSelector…
Arnav Singh
  • 31
  • 1
  • 3
0
votes
1 answer

contract content changed triggered even if no changes to contract

I have set up pact broker with docker image dius/pact-broker:2.40.0-1, my pacticipants are tagged as 'master' and versioned by commit SHA. Webhook 'contract content changed' established on broker. The event is triggered on every jenkins build, even…
mimlynar
  • 1
  • 1
0
votes
0 answers

PACT Node - ConsumerVersionSelector - Pacticipant and Version Not Honored

OS: Mac OSX 10.15.7_ Pact: 9.15.5 Pact Node version: 10.12.2 Node Version: 12.13.0 Im sure I'm doing something wrong, but I'm not sure how to get that working. I have 2 clients (ClientA and ClientB) that have contracts (each tagged 'master')…
athurner
  • 91
  • 5
0
votes
1 answer

PactBroker throws java.net.ConnectException: Operation timed out (Connection timed out)

I have a pact broker server hosted at https://mytestbroker.com. I am able to browse the broker page. When I run mvn test, the contract test fails with Connection timed out error. curl -i https://mytestbroker.com HTTP/1.1 200 OK Content-Type:…
user2176499
  • 363
  • 3
  • 16
0
votes
1 answer

Pact CDC: Cleaning up older consumer and provider version from Broker periodically

I have set up a pack broker locally and ran few iterations of consumer and provider. The list of verified pact over few days has gone to 100 now. I am looking for options to clear the contracts and the verification results which are older than 15…
Deepti K
  • 590
  • 2
  • 9
  • 26
0
votes
1 answer

How to take take backup of existing Pact contracts from Pact-broker?

Is there a way to download all pacts and its history from PactBroker? I want to download all the pacts with any history and then upload to a new pactbroker server. Is there a way to do that? I didn't see a doc on this. Thanks
Katlock
  • 1,200
  • 1
  • 17
  • 41
0
votes
1 answer

How to secure communication between Pact Broker, Consumer and Provider

We are planning to implement CDC in our project and Pact is being considered as primary candidate. Currently I am working on a POC to set up end to end flow with CI/CD integration with GitLab. I have couple of questions related to…