Forum Discussion

carlomarchesoni's avatar
carlomarchesoni
New Contributor
4 years ago

REST API, JSON is there a limit in response size for a string?

I have an API that simply returns 200 and

{  "pdf": "string"
}

In SOAP UI in raw data I do see the response, but it is truncated. And if I go to the JSON representation it just shows:

{"pdf": "

and nothing else. It looks like there is a limit somewhere (the length of my return string is 1'967'440.

PS: If I do the same with postman, it returns the complete string correctly.

thank you for your help

    • carlomarchesoni's avatar
      carlomarchesoni
      New Contributor

      Thank you for your reply.

      I tried this out already and it does not make any difference if I have the setting empty or if I do insert a 0 there. The response is always truncated