You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/10/26 07:07:02 UTC
[Bug 61669] New: HTTP sampler can't explain file with Chinese
character when upload file with http sampler
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Bug ID: 61669
Summary: HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Product: JMeter
Version: 3.3
Hardware: PC
Status: NEW
Severity: major
Priority: P3
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: 287495160@qq.com
Target Milestone: ---
Created attachment 35463
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35463&action=edit
filename with chinese charactor
precondition:
use multipart/form-data for Post and Browser-compatible headers is chosen.
step:
1.add a HTTP sample to threadgroup
2.choose a file with Chinese character in file upload area in sampler
3. excute the test
excepted result:
the file whose file name is Chinese character is displayed in view result tree
actual:
the file name displays like ?????
by the way: it was working fine with Jmeter 3.1
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler corrupts file with Chinese characters when
upload file with http sampler (NEED REPRODUCER CASE to confirm)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |13811246972@139.com
--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 63686 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonas.jasas@gmail.com
--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 62116 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
--- Comment #3 from Nick.Yin <28...@qq.com> ---
Created attachment 35482
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35482&action=edit
http-request of jmeter3.2
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
--- Comment #4 from Nick.Yin <28...@qq.com> ---
Created attachment 35483
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35483&action=edit
result of jmeter3.2
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |p.mouawad@ubik-ingenierie.c
| |om
OS| |All
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
See:
-
https://stackoverflow.com/questions/20591599/why-arent-post-names-with-unicode-sent-correctly-when-using-multipart-form-data/20592910#20592910
RFC 2388 4.4 applies here and the filenames can be encoded using RFC 2231.
See discussion around Bug 61384
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
--- Comment #1 from Nick.Yin <28...@qq.com> ---
Created attachment 35464
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35464&action=edit
filename with English
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Nick.Yin <28...@qq.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #7 from Nick.Yin <28...@qq.com> ---
I tried with Jmeter 3.2 compared to Jmeter 3.3, and found it's working fine
with Jmeter 3.2. See the attachment.
and I reviewed the release note of Jmeter3.3 , I'm still thinking it's a
bug.(In reply to Philippe Mouawad from comment #2)
> See:
>
> -
> https://stackoverflow.com/questions/20591599/why-arent-post-names-with-
> unicode-sent-correctly-when-using-multipart-form-data/20592910#20592910
>
>
> RFC 2388 4.4 applies here and the filenames can be encoded using RFC 2231.
>
> See discussion around Bug 61384
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
--- Comment #6 from Nick.Yin <28...@qq.com> ---
Created attachment 35485
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35485&action=edit
result of jmeter3.3
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler corrupts file with Chinese characters when
upload file with http sampler (NEED REPRODUCER CASE to confirm)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bin@fit2cloud.com
--- Comment #11 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 65275 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
--- Comment #5 from Nick.Yin <28...@qq.com> ---
Created attachment 35484
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35484&action=edit
http-request of jmeter3.3
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler corrupts file with Chinese characters when
upload file with http sampler (NEED REPRODUCER CASE to confirm)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|HTTP sampler can't explain |HTTP sampler corrupts file
|file with Chinese character |with Chinese characters
|when upload file with http |when upload file with http
|sampler |sampler (NEED REPRODUCER
| |CASE to confirm)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61669] HTTP sampler can't explain file with Chinese character
when upload file with http sampler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61669
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
It's not a regression although you might think so.
JMeter 3.2 was wrong in working the way it was.
The change is due to Bug 61384.
See :
-
http://httpcomponents.10934.n7.nabble.com/Charset-restriction-on-parameter-names-td31380.html
- https://issues.apache.org/jira/browse/HTTPCLIENT-293
- Discussion with title:
svn commit: r1806215 - in /jmeter/trunk:
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
xdocs/changes.xml
Also have a look at TEST_HTTP.jmx you'll see that tests consider this.
If you think I am wrong in my analysis, can you point me to the RFC that
contradicts JMeter behaviour ?
Thank you
--
You are receiving this mail because:
You are the assignee for the bug.