Skip to content

Binary data in request not working #467

@Khazrak

Description

@Khazrak

I'm trying to record a http post to Docker using Remote API where I send a tar file (via a stream) in Java via OkHttp Client.
Hoverfly records the binary data and shows green in captureMode but fails in simulation mode. My guess is that the JSON doesn't like the binary data in the request. (I got Wiremock to do this and I would like to avoid having Wiremock for one measly test).

image_tarball_import.json.txt

https://docs.docker.com/engine/api/v1.26/#operation/ImageLoad "Tar archive containing images"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions