Ask a Question

Disable chunk transfer-encoding does not work

Andreas_Schmidt
New Contributor

Disable chunk transfer-encoding does not work

I´m on SoapUI 5.5.0 and try to test an jpg-image upload to a nextCloud - Server (WebDAV). It works with Postman, but uploading with SOAPUI results in an 0 byte file on nextCloud. The only difference between Postman- and SOAPUI- Request I see is the different transfer-encoding: SOAPUI  chunks the binary data - Postman doesn´t. Although this is obviously a nextCloud (or Apache/PHP) - issue....

 

How can I force SOAPUI not to chunk the binary data? The same issue raised up in https://community.smartbear.com/t5/SoapUI-Open-Source-Questions/Resolved-how-to-disable-chunked-resp... - with no satisfying solution. The hint "setting chunking threshold to "blank" (I aslo found some older hints setting it to 0 or -1) or setting nit to a very high value has no effect... 

 

Regards

 

Andreas

 

 

 

2 REPLIES 2
richie
Community Hero

Hey @Andreas_Schmidt,

I was gonna say "change the setting to zero", but youve already tried that.

I thought chunking was disabled by default in soapui....

Can you attach the RAW details of your successful Postman request and also attach the RAW of your SoapUI request?

We need to see the headers from both if thats ok?

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

Postman:

 

PUT https://xxxx/remote.php/dav/files/120049010000000000716077/folder_share/boardkarte.pdf HTTP/1.1
Authorization: Bearer xxx
User-Agent: PostmanRuntime/7.26.8
Accept: */*
Host: xxxx
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: __Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; oc_sessionPassphrase=caBLzYuB65aqt7%2FMQ4vxPTKXAinOYnOhoymr0iOIX3q4C%2FeKeSBEL6eV4IB4BnY6LAJVBKjEndP37lFOLcMVeBsk4kTgWMwuwtp5%2BScjsQpN22z4TVyyHgV8yLTdBo4u; oc0317ad7bfb=luefp4q6ep7p60je3c1k42e1kf
Content-Length: 645133
Content-Type: application/pdf

SOAPUI:


PUT https://xxxxx/remote.php/dav/files/120049010000000000716077/folder_share/boardkarte.pdf HTTP/1.1
Connection: close
Content-Type: application/pdf;charset=UTF-8
Authorization: Bearer xxxxx
Transfer-Encoding: chunked
Host: xxxxx
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Expect: 100-continue

cancel
Showing results for 
Search instead for 
Did you mean: