apache / apache/jmeter

Drop "Use Keep-Alive" option altogether

Open
#4,742 2 comments 0 reactions 0 assignees View on GitHub
enhancement os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Michael Osipov** ([Bug 62262](https://bz.apache.org/bugzilla//show_bug.cgi?id=62262&redirect=false)):
JMeter 4.0 sports HttpClient 4.5.x and Java URLConnection by default. Both use HTTP/1.1 only, one cannot control this in JMeter anyway (for the good). Having the option "Use Keep-Alive" makes no sense. HTTP/1.1 is persistent by default. Infact, "Connection: Keep-Alive" is an invalid header field for HTTP/1.1. Closing is a performance penalty for client and server which is the default in a new test plan.

I see no benefit to have this option around at all anymore. For those who want to fiddle with connections can use a header manager for "Connection: close".

The enhancement request to remove this altogether from GUI and code.

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.