You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/08/15 20:07:52 UTC

DO NOT REPLY [Bug 43130] - HTTP Request sampler does not POST file if there are parameters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43130>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43130





------- Additional Comments From alf@i100.no  2007-08-15 11:07 -------
If you want to send both parameters and a file content, then your POST request
needs to be a multipart request, I think. So you need to enable the "Use
multipart/form_data for HTTP POST" option, I think.

I do not think it makes sense to send a POST request that is www_url_encode
type, and mix both parameters, which are url encoded, and some content from file.
Perhaps one could just append the file content to the post body made for the
parameters.

But I think in almost all cases, what you want is to use the multipart/form_data
post request.

So I think this works as designed, but feel free to comment if you feel otherwise

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org