Blazemeter / jmeter-http2-plugin

HTTP2 plugin for Apache JMeter
Apache License 2.0
45 stars 27 forks source link

Why use gzip by default? #26

Closed jerviscui closed 1 year ago

jerviscui commented 2 years ago

I see the Request Header has a Accept-Encoding: gzip by default. And I can't delete the Accept-Encoding header. Although I add a header Accept-Encoding: none ,but gzip will still take effect.

Yurons commented 1 year ago

I faced with same issue on last versions of the plugin and Jmeter. More over if add User-Agent to HTTP Header Management then two User-Agent headers are sent. And server response expected HTTP/2.0 400 Bad Request. Example of sent Headers

Accept-Encoding: gzip User-Agent: Jetty/11.0.6 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

So interaction between HTTP Header Management config element and HTTP2 sampler is incorrect too.

3dgiordano commented 1 year ago

Hi @jerviscui and @Yurons

I made a pre-release with some changes in the plugin. https://github.com/Blazemeter/jmeter-http2-plugin/releases/tag/v2.0.2

This pre-release solve the problem of Accept-Encoding: gzip and User-Agent: Jetty/11.0.6

Before its release, I need your feedback. Thanks.

jerviscui commented 1 year ago

Thank you @3dgiordano I'll find a way to use it.

3dgiordano commented 1 year ago

Hi @jerviscui The final release 2.0.2 is here https://github.com/Blazemeter/jmeter-http2-plugin/releases/tag/v2.0.2 In hours it will be available in Plugin Manager.

We are waiting to see if it resolves your issues.

Regards

RicardoPoleo commented 1 year ago

Hello @jerviscui, @Yurons

It has been a while since we saw some activity regarding this issue. I'll be closing it but, if the error persists in the current version, please don't hesitate to open it up again.