Bug 40438 - setting "httpclient.localaddress" has no effect
setting "httpclient.localaddress" has no effect
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.2
Other Linux
: P2 major (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
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.