jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62977] New: Unable to send HTTP requests without a User-Agent header
Date Tue, 04 Dec 2018 06:26:44 GMT

            Bug ID: 62977
           Summary: Unable to send HTTP requests without a User-Agent
           Product: JMeter
           Version: 3.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
  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

You are receiving this mail because:
You are the assignee for the bug.
View raw message