https://bz.apache.org/bugzilla/show_bug.cgi?id=62977
Bug ID: 62977
Summary: Unable to send HTTP requests without a User-Agent
header
Product: JMeter
Version: 3.3
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.1
Using a HeaderManager for the request, if you do not add a User-Agent header,
one is automatically added by default, like
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_102)
If I try specifying an empty UA header in the header manager, it sends the
empty header.
In the deprecated org.apache.http.impl.client.DefaultHttpClient, it sets the
defaults for the connection and the problem appears that there is no way to
override those defaults so that no UA header is sent as it adds that default UA
header if there is no UA in the request.
A lot of current testing is not testing websites, so this header is pretty
redundant for a lot of traffic, e.e. in a micro service architecture
environment.
--
You are receiving this mail because:
You are the assignee for the bug.