ASF Bugzilla – Attachment 31811 Details for
Bug 56706
SampleResult#getResponseDataAsString() does not use encoding in response body impacting PostProcessors and ViewResultsTree
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for Bug
patch_56706.patch (text/plain), 875 bytes, created by
UbikLoadPack support
on 2014-07-12 12:36:59 UTC
(
hide
)
Description:
Fix for Bug
Filename:
MIME Type:
Creator:
UbikLoadPack support
Created:
2014-07-12 12:36:59 UTC
Size:
875 bytes
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java (revision 1606604) >+++ src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java (working copy) >@@ -200,6 +200,15 @@ > } > } > >+ @Override >+ public String getDataEncodingWithDefault(String defaultEncoding) { >+ String dataEncodingNoDefault = getDataEncodingNoDefault(); >+ if(dataEncodingNoDefault != null && dataEncodingNoDefault.length()> 0) { >+ return dataEncodingNoDefault; >+ } >+ return defaultEncoding; >+ } >+ > /** > * Overrides the method from SampleResult - so the encoding can be extracted from > * the Meta content-type if necessary.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56706
:
31803
|
31804
|
31805
| 31811