HTTPClient4 missing filename for file uploads

Bug #1524887 reported by Jonenst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jakarta-jmeter (Ubuntu)
New
Undecided
Unassigned

Bug Description

The symptoms are described in the following thread : https://mail-archives.apache.org/mod_mbox/jmeter-dev/201505.mbox/%<email address hidden>%3E

Note that in contrast to the email thread, this bug happens just by using the jmeter version 2.8-1 from trusty/universe (no plugins, no customization)

Quote from the mail that describes the problem precisely:
"
When I use HTTPClient4 I get
failing file upload request:

    POST http://localhost/api/file/upload/

    POST data:
    --cJfjtjR2_380MwSzTd_SQdQfG51aS5D
    Content-Disposition: form-data; name="jtl_file";
    Content-Type: application/octet-stream

    <actual file content, not shown here>
    --cJfjtjR2_380MwSzTd_SQdQfG51aS5D--

While for HTTPClient3.1 I have successful request with:

POST http://localhost/api/file/upload/

POST data:
--wqkPl1L84AqGtph2Cgr79xYPJVMxntF4IJ
Content-Disposition: form-data; name="jtl_file";
*filename="011f023437.jtl.gz" *
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--wqkPl1L84AqGtph2Cgr79xYPJVMxntF4IJ--
"

Revision history for this message
Jonenst (jon-harper87) wrote :

Forgot to mention that this is on ubuntu 14.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.