I want to send a Zip file to an endpoint in the body of a REST request as a binary stream.

How can I accomplish this using SoapUI?

Simply adding the attachment to the tab does not include it in the body as it does for an HTTP Request

  • Have you tried documentation?
    – Rao
    Commented Sep 18, 2016 at 1:47
  • The documentation does not detail sending of a file as a RAW stream in the body. Hence the question raised on here.
    – ECiurleo
    Commented Sep 19, 2016 at 11:30

1 Answer 1


Figured out how this must be done.

When you add an attachment you can set its "Media Type" to match its "Content Type"

enter image description here

Your RAW request will then NOT display any content of the file (instead showing it is not available)

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.