SpectoLabs / hoverfly-java

Java binding for Hoverfly
Apache License 2.0
168 stars 58 forks source link

Add support for configuring encodedBody in the DSL #269

Closed JeroenSanders closed 2 years ago

JeroenSanders commented 2 years ago

It is currently not possible to use the java DSL to create a simulation that contains a response with a binary body.

This PR introduces a small extension to the ResponseBuilder to allow switching the encodedBody value to true.