Bug 40438 - setting "httpclient.localaddress" has no effect
Summary: setting "httpclient.localaddress" has no effect
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.2
Hardware: Other Linux
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 15:32 UTC by andresgr
Modified: 2006-09-08 01:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andresgr 2006-09-07 15:32:01 UTC
In jmeter.properties the mentioned property should allow to set the local ip
address for HTTP requests.

It does not work. Revising the class HTTPSampler2 i have found that 

251: HostConfiguration hc = new HostConfiguration();

this "hc" object is correctly created but it is  *not* used in the creation of
the httpClient object.
Comment 1 Sebb 2006-09-07 18:31:28 UTC
I see what you mean. Not sure what is going on here, because I thought the 
proxy code was working, and that uses the HostConfiguration ... perhaps 
neither works.

I've checked in a change to add the host configuration to the client object - 
if you would like to give it a try, this is in the nightly build: 2-2.20060907.

If this fixes the problem (or not!) please update this issue accordingly.

Thanks.
Comment 2 andresgr 2006-09-08 08:40:27 UTC
OK.

It works fine now.

Thanks.
Comment 3 The ASF infrastructure team 2022-09-24 20:37:37 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1785