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.08k stars 479 forks source link

Show response body to user when an error response is returned from the pacts for verification response #1480

Open bethesque opened 2 years ago

bethesque commented 2 years ago

Please see https://github.com/pact-foundation/pact-jvm/pull/1477#issuecomment-967787610 for reference.

Currently, all that shows is the status code of 400. For the user to be able to fix the error, they need to see the error message that is in the response body.

Dstefannn commented 2 years ago

bump