-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add HttpClient5 sampler implementation with HTTP/2 support #6742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
andreaslind01
wants to merge
24
commits into
apache:master
Choose a base branch
from
andreaslind01:httpclient5_http2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c679dc1
Add support for HTTP Client 5 (`HTTPHC5Impl`)
andreaslind01 acd67ec
Refactor `HTTPHC5Impl` to improve connection and timeout handling met…
andreaslind01 e72755d
Add support for DNS resolution and response decompression in HTTPHC5Impl
andreaslind01 de30d28
Refactor `DNSCacheManager` to simplify interface and integrate with `…
andreaslind01 0b533bd
Handle null `RequestConfig` in `HTTPHC5Impl` to ensure default config…
andreaslind01 fa4a038
Add caching and conditional requests support in `HTTPHC5Impl` using `…
andreaslind01 7556679
Add HTTP/2 support in `HTTPHC5Impl` with configurable HTTP version ha…
andreaslind01 cf1b9cf
Add unit tests for `HTTPHC5Impl` features including HTTP/2, caching, …
andreaslind01 6b6d09d
Add HTTP/2 support to `HTTPJavaImpl` with configurable version handli…
andreaslind01 3e86a0c
Add `httpVersion` to ignored properties in `JMeterTest`
andreaslind01 947dae7
Update `HTTPHC5Impl` to use `HttpVersionPolicy.NEGOTIATE` for HTTP/2 …
andreaslind01 12de7e9
Update dependencies to replace `httpcore5-h2` with `httpcore5` in `HT…
andreaslind01 6e74d4f
Add `sentBytes` calculation to `HTTPHC5Impl` and corresponding unit t…
andreaslind01 cdb95b9
Add `sentBytes` calculation to `HTTPJavaImpl` for GET and POST reques…
andreaslind01 72eccfe
Improve header handling in `HTTPJavaImpl` by preserving security head…
andreaslind01 546b2a0
Add connect time measurement to `HTTPJavaImpl` and `HTTPHC5Impl` with…
andreaslind01 eef1096
Add connect time measurement for HTTP/2 in `HTTPJavaImpl` with unit t…
andreaslind01 6249443
Add HTTP/2 reason phrase handling in `HTTPJavaImpl` with unit tests
andreaslind01 1bf6009
Reorder HTTP version options in GUI components for consistency
andreaslind01 d5c9b60
Implement HTTP/2 multiplexing and configurable protocol settings in H…
andreaslind01 64a3a24
Add configurable User-Agent header handling in HttpClient5 sampler
andreaslind01 c2d10d5
Enhance HTTP/2 support in Java sampler with multiplexing and configur…
andreaslind01 4cf64cf
Add default User-Agent header handling for Java sampler in HTTP/1.1 a…
andreaslind01 16d03cd
Add HTTP/2 core dependency for enhanced support in HttpClient5
andreaslind01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since
HTTPHC5Impl(this PR) exercises HttpClient5's async TLS upgrade path for HTTP/2, worth bumping both of these before merge:httpclient5:5.5.1→5.6.4— fixes "SSL parameter application in the async TLS upgrade strategy" (release notes)httpcore5/httpcore5-h2:5.3.4→5.4.3— the versionhttpclient5:5.6.4is actually built and tested against (per its parent POM'shttpcore.versionproperty), so bumping onlyhttpclient5and leavinghttpcore5at5.3.4would be an incoherent pairing.