jmeter
jmeter copied to clipboard
Providing a Test Script Recorder that supports HTTP/2
Use case
Since Test Script Recorder cannot record HTTP/2, please add a function
Possible solution
Individual creation is possible with the HTTP/2 Sampler plug-in, but it takes time. When performing data correlation, it is desirable to be able to simultaneously acquire scenario recording and response data as before.
Possible workarounds
With JMeter Web Driver Sampler, you can easily simulate HTTP/2 since the HTTP version depends on the browser However, Selenium is not suitable for load testing, so it is desirable to be able to handle it with jmeter etc.
JMeter Version
5.5
Java Version
jdk-20
OS Version
windows 10
Hi @NEC-Maeta
I understand that the request is something to be evaluated by the JMeter team. But I am including information that may be useful the user as an alternative while it is not yet available in JMeter.
The BlazeMeter http2 plugin has experimental support for enabling http2 recording in JMeter using the native JMeter proxy recorder. It is a functionality that has not yet been officially released, but can be tested if desired in the latest alpha version.
If you download version 2.0.3-alpha.3 https://github.com/Blazemeter/jmeter-http2-plugin/releases
and add the following property in jmeter.properties or user.properties
HTTP2Sampler.proxy_enabled=true
When you are recording with the JMeter proxy, all requests will be captured through the plugin's http engine that supports http1.x and http2, as well as ALPN.
Any questions or feedback you can contact the BlazeMeter team by raising an issue on their site https://github.com/Blazemeter/jmeter-http2-plugin/issues
I hope the information can help while http2 is not yet supported in JMeter.
Thank you @3dgiordano
After changing the settings, I was able to record with HTTP2.
Hi, After adding the property: HTTP2Sampler.proxy_enabled=true i am unable to record the script.Getting 400 Bad Request ngnix error. Could you please suggest the fix.
Hi @dpeddaswamy
As I mentioned in my last answer. The current issue in the JMeter repository is regarding an HTTP2 support request, which has no correlation to the use or issues of the BlazeMeter HTTP2 plugin. Everything concerning the BlazeMeter HTTP2 plugin must be reported in its respective reporting system.
Any error, questions or feedback you can contact the BlazeMeter team by raising an issue on their site https://github.com/Blazemeter/jmeter-http2-plugin/issues You must report the problem there, including all the necessary data so that anyone can reproduce the error to diagnose it.
Regards