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

Request body as byte array #1777

Closed kristineguo closed 5 months ago

kristineguo commented 6 months ago

Related to https://github.com/pact-foundation/pact-jvm/issues/600, we'd like to test a PUT API on the provider. PactDslWithProvider currently does not support setting a binary body for the request. Could we add withBinaryData to the request builder?

github-actions[bot] commented 6 months ago

🤖 Great news! We've labeled this issue as smartbear-supported and created a tracking ticket in PactFlow's Jira (PACT-1921). We'll keep work public and post updates here. Meanwhile, feel free to check out our docs. Thanks for your patience!

rholshausen commented 5 months ago

4.6.8 has been released with this change