Forum Discussion

PrathapR's avatar
PrathapR
Frequent Contributor
6 years ago

How to handle huge JSON response

Hello Team,

One of my GET call fetching huge data in JSON, it's around 500000 lines (including {}, [], Space). When I execute this step, either SoapUI getting freeze or it's taking a while to load, 99% times I have to kill SoapUI. I tried all options what we have in SoapUi Documentation (https://www.soapui.org/getting-started/working-with-soapui/improving-memory-usage.html#_ga=2.1627953.1817293956.1548261563-882508954.1548261563). 

 

If you have any solution, Please help me, that will be appriciated. Thanks!

 

Using: SOAPUI Open Source 5.4.0

 

 

3 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    What min and max heap size setting are being used? Try increasing to 2048m for max heap size and see.
    • PrathapR's avatar
      PrathapR
      Frequent Contributor

      Thank you for your response!

       

      I Had 

      Min: 128m

      Max : 1024m

      But I tried to increase to 2048m as you suggested, when I do this even SoapUI tool it self not opening.

      PC: 

      My Total RAM = 32GB

      Used: 9GB (for all)

      • nmrao's avatar
        nmrao
        Champion Level 3
        Can you please invoke it from command line and see what it says?

        run => SOAPUI_HOME/bin/soapui.bat