Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SoapUI raw request not showing JSON body

Tags:

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?

like image 923
Alex E Avatar asked Nov 03 '15 15:11

Alex E


People also ask

How can I get raw request in SoapUI?

To view the HTTP request, click RAW at SoapUI Request window (left side). The Request is posted to the web-server. Hence, the POST method of Http is used. The SOAP Request is transported in the body of the http message, which is shown as follows.

Does SoapUI support JSON?

SoapUI parses the REST messages for you, and makes it very easy to view and edit the request and response headers as well as the JSON and XML payloads.


1 Answers

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,

like image 97
albciff Avatar answered Oct 26 '22 14:10

albciff