Search code examples
firefoxencodingjmeterbrotli

JMeter "Content encoding Error" when using FireFox and HTTP(S) Test Script recorder


I am trying to configure Mozilla Firefox for JMeter 5 and as I am setting up manual proxy in Firefox and same proxy number in JMeter.

I installed the special certificate. My Firefox is showing error as "Content encoding Error", when I open https://www.google.com website.

Content Encoding Error


Solution

  • This is due to Brotli Encoding not being supported by JMeter Test Script Recorder in versions <= 5.0.

    See:

    The bug is now fixed in nightly build and in upcoming 5.1 version of JMeter.

    To workaround, in Firefox, type about:config and input Content-Encoding:

    Accept-Encoding

    Then remove br from the algorithms accepted.