Alex E
Alex E

Reputation: 805

SoapUI raw request not showing JSON body

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?

Upvotes: 29

Views: 41691

Answers (2)

sobczak.dev
sobczak.dev

Reputation: 1308

Another solution for above problem:

Go to File > Preferences > Editor Settings and select options:

  • Validate Requests
  • Validate Responses

enter image description here

Upvotes: 5

albciff
albciff

Reputation: 18517

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,

Upvotes: 35

Related Questions