I have the same issue with SoapUI 5.1.2 and 5.2.0.
I need to read the content of a PUT message.
Is a workaround exist for this issue ?
I have the same issue with SoapUI 5.2.1 when I try to read the content of a PUT message.
Has this bug been fixed in any SOAP UI release ? Or is there a workaround for this issue ?
i found one workaround for the problem. We are getting null output for mockRequest.getRequestContent() for PUT request
The workaround would be to use the following code
InputStream is = mockRequest.request.inputStream
BufferedReader br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
StringBuilder sb = new StringBuilder()
String payLoad = sb.toString()
The workaround works smoothly. However, if you need re-get the content down the road, you can't since the stream cannot be consumed twice. Hope there's a real solution from smartbear.
NOT WORKS. I am using the ReadyAPI v 2.8.
I am unable to read request body.. So unable to return valid response to my Application under test = I am unable to test it = unable to use this tool for testing.
This topic is here sooo loooong.. And no solution? I am surprised. So nobody from SmartBear was working on it? It means, that we are paing for licenses, but no effect?
Please can somebody tell me, how to read POST body request ? because I must return some string value from it back to AUT..