I need to translate the following request into Soap UI NG: it is basically a PUT to an Azure URL where I need to upload a zip file.
curl -X PUT -H "x-ms-blob-type:BlockBlob" --upload-file test_file.zip "http://thisismyurl.com"
I have created a step, where I attach a zip file. However, the raw pane indicates that the length of the content is 0.
Here is how it looks like:
PUT https://myhost.com/blob_80205bcf-d17a-4342-8dcc-f9cbbd64eb5a.zip HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: application/octet-stream x-ms-blob-type: BlockBlob Content-Length: 0 Host: myhost.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.1 (Java/1.8.0_74)
What am I doing wrong please?
Yes, I am using a test step inside a test case and valid project.
In short, my problem is that files I upload end up having size 0 (zero) bytes. Postman on the other hand uploads the same file successfully.
Somehow I am missing what combination of params and settings results in a succesful package.
The field is empty because I see and there are NO options to choose from the drop down list.
As such in this screen capture.
What am I missing please? Thank you!
Already tried that, with the effect that content-type is not set as application/octet-stream and the file size is wrong. Ofcourse, the uploaded file is uploaded.