cancel
Showing results for 
Search instead for 
Did you mean: 

Request Body Missing in Raw Request view

SOLVED
Highlighted
New Contributor

Request Body Missing in Raw Request view

Anyone can help me on this urgently?

Recently I submitted a post request with json data, but i can not find the request  body in raw view.

I have checked the "Wrap content in Raw Message Viewers" and set the size as "999999999999999999999999999999", the issue still persists.

Then  checked "Always validate request messages before they are sent " and "Always validate response messages" in Editor setting tab, the functionallity still not work in raw viewers.

 

 

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Contributor

Re: Request Body Missing in Raw Request view

Hi all, 

 

Finally solved this issue by initializing the preference settings by myself.

 

Actions for your reference:

[File>Import preferences>Go to your SoapUI installed folder and select "SoapUI-settings.xml">done]

 

Regards,

Anthony Ding

View solution in original post

6 REPLIES 6
Highlighted
Community Hero

Re: Request Body Missing in Raw Request view

Validation flag, not sure if that's applicable for REST services.

Is that issue not showing data in Raw tab? You didn't mention if the is hit the service and got expected response.
Please clarify


Regards,
Rao.
Highlighted
New Contributor

Re: Request Body Missing in Raw Request view

Just got the headers in request

 

POST http://urlcannotshown HTTP/1.1
Accept-Encoding: gzip,deflate
Accept: application/json
Content-Type: application/json
Content-Length: 123
Host: urlcannotshown
Proxy-Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

 

[should be request body here]

 

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Date: Fri, 10 Apr 2020 07:14:59 GMT
Transfer-Encoding: chunked
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Content-Encoding: gzip

{"Result":"Failed","Reserved":["Reservation failed:005451587"]}

Highlighted
Community Hero

Re: Request Body Missing in Raw Request view

Can't really think of any.
Please see if the documentation can help
https://support.smartbear.com/readyapi/docs/requests/rest/index.html?sbsearch=REST+POST+request


Regards,
Rao.
Highlighted
Community Hero

Re: Request Body Missing in Raw Request view

Hey @ding1392,

What version of ReadyAPI! are you running?
Can you confirm this is for a single request rather than this behaviour occurring for every single request in test case in every single project you have in ReadyAPI!?

Ive just been prompted to download the latest version of ReadyAPI! when i relaunched my laptop. Try upgrading ReadyAPI! and see if upgrading makes any difference?

Cheers

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
New Contributor

Re: Request Body Missing in Raw Request view

Hi Richie,

 

Thanks for replying this. I'm in SoapUI 5.5.0 Open Resource Version. And the issue happened on every single request.Not only the soap request  but also the restful request.

 

And regarding this as the software is installed on the firm's PC, has limited access to modify/upgrade by ourselves.

 

Regards,

Anthony.

Highlighted
New Contributor

Re: Request Body Missing in Raw Request view

Hi all, 

 

Finally solved this issue by initializing the preference settings by myself.

 

Actions for your reference:

[File>Import preferences>Go to your SoapUI installed folder and select "SoapUI-settings.xml">done]

 

Regards,

Anthony Ding

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors