Bug 57806

Summary: "audio/x-mpegurl" mime type is erroneously considered as binary by ViewResultsTree
Product: JMeter - Now in Github Reporter: UbikLoadPack support <support>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor CC: p.mouawad, support
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch fixing issue

Description UbikLoadPack support 2015-04-12 12:55:35 UTC
SampleResult#isBinaryType considers that a "audio/x-mpegurl" mime type is binary while it is text.

This is due to:
        for (int i = 0; i < BINARY_TYPES.length; i++){
            if (ct.startsWith(BINARY_TYPES[i])){
                return true;
            }
        }

This leads to response data being shown as blank in View Results Tree when Text renderer is used
Comment 1 UbikLoadPack support 2015-04-16 20:15:52 UTC
Created attachment 32655 [details]
Patch fixing issue
Comment 2 Philippe Mouawad 2015-04-16 20:21:16 UTC
Date: Thu Apr 16 20:20:55 2015
New Revision: 1674146

URL: http://svn.apache.org/r1674146
Log:
Bug 57806 - "audio/x-mpegurl" mime type is erroneously considered as binary by ViewResultsTree
Bugzilla Id: 57806

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java
    jmeter/trunk/xdocs/changes.xml
Comment 3 Philippe Mouawad 2015-04-16 20:21:32 UTC
Thanks for patch.
Commited.
Comment 4 The ASF infrastructure team 2022-09-24 20:37:59 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3581