Forum Discussion

ding1392's avatar
ding1392
New Contributor
5 years ago

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.

 

 

  • 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

  • ding1392's avatar
    ding1392
    New Contributor

    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

  • nmrao's avatar
    nmrao
    Champion Level 3
    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
    • ding1392's avatar
      ding1392
      New Contributor

      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"]}