Skip to content
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

Connection not reused #72

Open
manuranga opened this issue Jun 28, 2024 · 1 comment
Open

Connection not reused #72

manuranga opened this issue Jun 28, 2024 · 1 comment

Comments

@manuranga
Copy link

Screenshot 2024-06-28 at 6 31 59 PM

helloworld.zip

test-threads.jmx.zip

I am testing a simple HTTP service using the above JMeter script. I captured the traffic using Wireshark.

After upgrading to HTTP, the connection is used for only one HTTP 2 request.

  1. I expected the plugin to reuse the same connection for multiple HTTP 2 requests.
    Could this be a bug or am I missing some configuration?
    I tried manually setting httpJettyClient.maxConcurrentAsyncInController=200 but it had no effect.

  2. Not only it doesn't reuse the connection, it also holds the connection for 20 seconds without any traffic, consuming resources.

  3. Additionally, is it possible to use HTTP 2 from the initial request (instead of upgrading), ie curl with --http2-prior-knowledge behaviour?

@manuranga
Copy link
Author

I tried with httpclient.reset_state_on_thread_group_iteration=false, still no difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant