Bug 60376

Summary: Http Test Script Recorder : If deflate is used by server then recording may break application
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Severity: major CC: p.mouawad
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch fixing issue
Headers seen from browser

Description Philippe Mouawad 2016-11-15 16:56:35 UTC
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.

Comment 1 Philippe Mouawad 2016-11-15 18:45:34 UTC
Created attachment 34449 [details]
Patch fixing issue
Comment 2 Philippe Mouawad 2016-11-15 19:46:57 UTC
Created attachment 34450 [details]
Headers seen from browser
Comment 3 Philippe Mouawad 2016-11-16 07:27:36 UTC
After further tests, this does not break all applications using Deflate.
Comment 4 Philippe Mouawad 2016-11-16 07:29:02 UTC
Author: pmouawad
Date: Wed Nov 16 07:28:45 2016
New Revision: 1769932

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