jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62158] New: httpClient4 fails to upload files
Date Mon, 05 Mar 2018 18:10:24 GMT

            Bug ID: 62158
           Summary: httpClient4 fails to upload files
           Product: JMeter
           Version: 3.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
  Target Milestone: ---

Created attachment 35751
httpClient4 upload file failed

We are using HTTP Request to upload a file (xlsx) during a request, it works
with the following protocols:

- Java
- HttpClient3.1

But fails with:

- HttpClient4

But all of our tests are using HttpClient4, so we really need this to work.

I tried all sorts of combinations found online, but none really helped.

The MIME type is also correctly set to:

POST data:
Content-Disposition: form-data; name="files"; filename="VinList-1.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

<actual file content, not shown here>

Still fails.

It seems to be related to using this protocol with the xlsx format. 

Please look into and fix this issue.

Attached is the UI setup in JMeter for this test, and error received.

You are receiving this mail because:
You are the assignee for the bug.
View raw message