jmeter-http2-plugin | Jmeter HTTP/2 sampler | Performance Testing library
kandi X-RAY | jmeter-http2-plugin Summary
kandi X-RAY | jmeter-http2-plugin Summary
Jmeter HTTP/2 sampler
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize HTTP2 connection
- Creates and returns a Http2 frame writer
- Configure the sPN pipeline
- Configure the pipeline for a cleartext upgrade
- Sample a request
- Get the response headers from the response
- Waits for responses to complete
- Starts the sample
- Gets the web server panel
- Gets the domain panel
- Gets the port panel
- Returns a test element
- Modifies the test XML element
- Add header managers
- Get the header manager
- Called when a message is received
- Configures the HTTP2 sampler
- Gets the path panel
- Filter the response message
jmeter-http2-plugin Key Features
jmeter-http2-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on jmeter-http2-plugin
QUESTION
I've installed the Blazemeter HTTP/2 Plugin for JMeter and have trouble getting HTTP/2 requests to work.
My minimal test looks like this:- Thread Group
- HTTP2 Request
- Server: stackoverflow.com
- Protocol: https
- View Result Tree Http2
- HTTP2 Request
ANSWER
Answered 2020-Sep-14 at 14:04As I found out, the combination of OpenJDK 8u252 and Jetty 9.4.26 (shipped with JMeter) is not compatible.
The ALPN APIs have been backported to Java 8u252 and Jetty 9.4.28, and alpn-boot
is not needed anymore.
More information: https://webtide.com/jetty-alpn-java-8u252/
Updating the Jetty libraries to 9.4.28 helped:
- Download files from https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.28.v20200408/ and https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-client/9.4.28.v20200408/
- Replace
jetty*-9.4.26*
files injmeter/lib
by their 9.4.28 counterparts from the downloaded archive
Update: List of files
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jmeter-http2-plugin
Build Netty 5 (Alpha3+) and netty-tcnative for your platform
Copy HTTP2Sampler.jar, netty-all.jar, netty-tcnative.jar and hpack.jar to lib/ext of jmeter directory
If you use gzip encoding, you must prepare jzlib.jar too.
Run JMeter
Write your test scenario with HTTP2Sampler
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page