cancel
Showing results for 
Search instead for 
Did you mean: 

Empty File Should Not Save to Azure Blob via SoapUI

Highlighted
Occasional Visitor

Empty File Should Not Save to Azure Blob via SoapUI

Hi Team,

 

When i try to hit POST request via Swagger by browsing Empty Text file then i get Status Code as 400 and not storing the empty file to Blob but when it try to write at test case in SoapUI in which I have attached 0 bytes text file in attachment tab and selected media type as multipart/form-data and checked Post QueryString then when i click on Send then it is saving empty file to Blob which it should not. It is because the Raw request content length is 230 though nothing there in attached file. So, I need your help to how to Empty file should not be saved to Blob when i click on Send. I have searched alot but no luck. Need your quick help on it.

 

Accept-Encoding: gzip,deflate
Content-Type: multipart/form-data; boundary="----=_Part_12_943510348.1553578526351"
MIME-Version: 1.0
Content-Length: 230
Host: localhost:5000
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_181)

 

Thanks,
Srikar

New Here?
Join us and watch the welcome video:
Watch the new Interview