Scott_Tindal
16 years agoOccasional Contributor
transfer-encoding:chunked for WS request
I am using soapUI 2.5.1 to test uploading documents to a WS using MTOM. By default I am seeing very high memory usage (10 X doc size) in the java heap both in soapUI client, and in the java server. My understanding is if soapUI sends the request "chunked", the server can handle the file in smaller pieces and avoid the high memory usage (and presumably soapUI can also), but I have not been able to configure my testcase in soapUI to submit this request as chunked with the transfer-encoding:chunked header. Is there a way to cause this to happen in soapUI?
In soapUI preferences HTTP Version is 1.1, and disable chunking is not checked. When I execute tests against this server (including downloading documents), the response is chunked and soapUI is able to handle it. For the web service request that I am using to upload, I have set enable MTOM and force MTOM to true, and have added the file to upload as an attachment. Tried adding transfer-encoding as a HTTP property with value chunked, but since soapUI still wasn't sending the content in chunked syntax this just caused an "invalid chunk" error on the server.
Thanks for any suggestions.
Scott Tindal
In soapUI preferences HTTP Version is 1.1, and disable chunking is not checked. When I execute tests against this server (including downloading documents), the response is chunked and soapUI is able to handle it. For the web service request that I am using to upload, I have set enable MTOM and force MTOM to true, and have added the file to upload as an attachment. Tried adding transfer-encoding as a HTTP property with value chunked, but since soapUI still wasn't sending the content in chunked syntax this just caused an "invalid chunk" error on the server.
Thanks for any suggestions.
Scott Tindal