Hello Community I was exploring PACT with pact-jv...
# pact-jvm
m
Hello Community I was exploring PACT with pact-jvm and junit5 Just playing around with free api's to build contract tests - https://reqres.in/ I've successfully wrote consumer test for one interaction, pact contract generated successfully (attached pact file) I've also setup the provider side test. When I run the provider side tests, I'm getting error (Refer image-providerError) Need help to understand what went wrong here.
v
Hey @Magesh Nagamani it looks like your provider is returning 522! It seems to be a problem related to the provider server! Did you check that the server is running correctly?
m
Yes, The server is up
I resolved the error by setting up the target pointing to the URL directly. Got this info from PACT official documentation
❤️ 1