Forum Discussion

larsn's avatar
larsn
Contributor
12 years ago

REST binary testing

I'm (ab)using SoapUI for REST testing of binary media and using Groovy scripting to most of what I need.

I can access the raw HTTP response via context.httpResponse.getRawResponseBody() since it returns a byte[].

What would the corresponding call be for me to access the raw request object?
I can't use anything that is converted to a String since would introduce encoding errors.

3 Replies