Contributions
Re: Upload of zip file via PUT to Azure results in file with 0 bytes written
Hi, 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. Like so:8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2Comments- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes4Comments
Re: Upload of zip file via PUT to Azure results in file with 0 bytes written
Hi, 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!8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes6CommentsRe: Upload of zip file via PUT to Azure results in file with 0 bytes written
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.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes8CommentsUpload of zip file via PUT to Azure results in file with 0 bytes written
Hi, 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?8 years agoPlace ReadyAPI QuestionsReadyAPI Questions3KViews0likes10CommentsCharacters in XML response get entitized and string becomes unusable as HTTP request
Hello! I have this problem: issue a HTTP GET to a resource, and receive an XML response containing a URL where I can PUT a file. Like this: Now, I want to use the URL string from the first response inside as a PUT request URL. I created a HTTP Request step and used a Property Transfer to transfer the string into the Request URL field in the HTTP Request. However, the string is changed, for example the % character is transformed into %25, that is its xml equivalent. For example: https://myserver.com/blob_a9f1404c-a7cf-4df3-a141-3a399b880d49.zip?sig=o%252FIWUx9hzK7uq3%252B5sHnZph98kqPM5u3iZMbx%252FE6TqHY%253D&st=2016-05-31T14%253A54%253A32Z&se=2016-06-01T14%253A59%253A32Z&sv=2015-04-05&sp=w&sr=b HTTP/1.1 gets turned into this https://myserver.com/blob_a9f1404c-a7cf-4df3-a141-3a399b880d49.zip?sig=o%2FIWUx9hzK7uq3%2B5sHnZph98kqPM5u3iZMbx%2FE6TqHY%3D&st=2016-05-31T14%3A54%3A32Z&se=2016-06-01T14%3A59%3A32Z&sv=2015-04-05&sp=w&sr=b HTTP/1.1 Of course, this makes the server return an error because of an unknown sig parameter. I just want the string transfered 1 to 1. Any solution I have tried is too complicated even impossible. (tried extracting all the params inside a groovy code, does not really work and it's too complicated etc) Please advise.Solved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes2Comments