You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Evandro Grezeli <eg...@gmail.com> on 2013/03/08 18:59:09 UTC

Webservices with Attachment

Hi All,

Im trying to POST a webservice action with a Attachment on it.

Im using the HTTP Request Sampler, pasting the request in the raw Post
Body.

When i select the file to upload with the request, the attached file didn't
go with the request.

One assumption that i have is the header request, that is going as the
following:

Content-Disposition: form-data; name="temp.txt"; filename="temp.txt"

While the same request in the SoapUI is going as:

Content-Disposition: attachment; name="temp.txt"; filename="temp.txt"

Could be that the problem? Anyone had any problems trying to attach a file
to a Webservice?

Best regards.




-- 
Atenciosamente
Evandro Grezeli de B. Neves