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 2016/11/15 16:56:35 UTC

[Bug 60376] New: Http Test Script Recorder : If deflate is used by server then recording breaks application

https://bz.apache.org/bugzilla/show_bug.cgi?id=60376

            Bug ID: 60376
           Summary: Http Test Script Recorder : If deflate is used by
                    server then recording breaks application
           Product: JMeter
           Version: 3.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Hello,
The issue is the following.
I have an application that uses deflate compression.

I start recorder, I configure Firefox so that JMeter record.
I access application, I get a page saying "Error on content encoding"
(translation of french message "Erreur d'encodage de contenu").

If I remove deflate from firefox in about:config and keep only gzip,
network.http.accept-encoding=gzip

It works.

The bug is in JMeter Test script recorder.

It is a pretty nasty bug and it may block a lot of users facing it who would
think JMeter is not able to record their application.

I must confess I found the workaround by chance.

Regards 
Philippe

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60376] Http Test Script Recorder : If deflate is used by server then recording may break application

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60376

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Nov 16 07:28:45 2016
New Revision: 1769932

URL: http://svn.apache.org/viewvc?rev=1769932&view=rev
Log:
Bug 60376 - Http Test Script Recorder : If deflate is used by server then
recording may break application
Bugzilla Id: 60376

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60376] Http Test Script Recorder : If deflate is used by server then recording breaks application

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60376

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 34449
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34449&action=edit
Patch fixing issue

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60376] Http Test Script Recorder : If deflate is used by server then recording may break application

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60376

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major
            Summary|Http Test Script Recorder : |Http Test Script Recorder :
                   |If deflate is used by       |If deflate is used by
                   |server then recording       |server then recording may
                   |breaks application          |break application

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
After further tests, this does not break all applications using Deflate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60376] Http Test Script Recorder : If deflate is used by server then recording breaks application

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60376

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 34450
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34450&action=edit
Headers seen from browser

-- 
You are receiving this mail because:
You are the assignee for the bug.