SoapUI raw request not showing JSON body

Alex E picture Alex E · Nov 3, 2015 · Viewed 22.2k times · Source

This question is for SoapUI 5.2.1 community edition:

I have a POST request with JSON body that contains variables.

SoapUI JSON parameters

I was always able to verify that these parameters take proper values by clicking on "Raw" tab to view the request as it went or will be sent to the server.

Today I found that I no longer see this and only see the headers.

missing JSON in raw request view

What could be the problem and how can I troubleshoot this?

Answer

albciff picture albciff · Nov 3, 2015

Check in the SOAPUI Preferences panel that your request size doesn't exceed the Size of Raw Request Message to Show: property and has Wrap content in Raw Message Viewers property checked in UI Settings tab.

Open File > Preferences in menu (CTRL + ALT + P) and check this values:

enter image description here

Finally as @AlexE says in the comment, save preference using in the menu File > save preferences and restart SOAPUI.

I also want to advice that I saw a wrong behavior with this, like you I remember that before my requests are shown in the raw viewer but now I try it a first with a request that doesn't exceed this values however it was not shown in the Raw viewer, however after increase the value and check the parameter it starts to work again...

Hope it helps,