I fixed one version mismatch and now both consumer and provider use 4.3.14 which goes past that error.
I see my consumer is 'null'. How/where do I correct it?
Another issue is that it picks up wrong url for PactBroker as localhost:9292 not my pact broker as
@PactBroker(url = "${PACT_BROKER_BASE_URL}", providerTags = {"latest", "dev", "prod"},
enablePendingPacts = "true", authentication = @PactBrokerAuth(username = "${PACT_BROKER_USERNAME}",
password = "${PACT_BROKER_PASSWORD}"))
18
3203.004 [main] DEBUG
au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider - Verifying pacts for provider 'cx-switch-device-health' and consumer 'null'
18
3203.378 [main] DEBUG
au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider - Pact sources on test class:
@au.com.dius.pact.provider.junitsupport.loader.PactSource(
au.com.dius.pact.provider.junitsupport.loader.PactBrokerLoader.class)
18
3203.379 [main] DEBUG
au.com.dius.pact.provider.ProviderUtils - Pact source does not have a constructor with one argument of type Class
18
3203.403 [main] DEBUG
au.com.dius.pact.provider.junitsupport.loader.PactBrokerLoader - Loading pacts from pact broker for provider cx-switch-device-health and consumer version selectors []
18
3203.408 [main] DEBUG
au.com.dius.pact.provider.junitsupport.loader.PactBrokerLoader - Authentication: Basic
18
3203.416 [main] DEBUG
au.com.dius.pact.core.pactbroker.HalClient - Fetching: /
18
3203.618 [main] DEBUG org.apache.hc.client5.http.impl.classic.InternalHttpClient - ex-0000000001 preparing request execution
18
3203.623 [main] DEBUG org.apache.hc.client5.http.protocol.RequestAddCookies - null Cookie spec selected: strict
18
3203.626 [main] DEBUG org.apache.hc.client5.http.protocol.RequestAuthCache - null Auth cache not set in the context
18
3203.627 [main] DEBUG org.apache.hc.client5.http.impl.classic.ProtocolExec - ex-0000000001 target auth state: UNCHALLENGED
18
3203.627 [main] DEBUG org.apache.hc.client5.http.impl.classic.ProtocolExec - ex-0000000001 proxy auth state: UNCHALLENGED
18
3203.627 [main] DEBUG org.apache.hc.client5.http.impl.classic.ConnectExec - ex-0000000001 acquiring connection with route {}->
http://localhost:9292