jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Send HTTP requests from different IPs
Date Fri, 01 Feb 2008 07:24:56 GMT
sebb wrote:
> On 31/01/2008, <> wrote:
>> Hi gang! Do forgive me if this question's been answered before; couldn't
>> find a solution.
> It has, but it's been a while...
>> We have some HTTP servers, behind a Cisco CSS that does load balancing
>> depending on the client's IP. I'll be using JMeter with the Commons
>> HttpClient component to generate load, to test the HTTP servers. The
>> load balancer needs to split the load between them evenly. JMeter has
>> to run on a single, powerful machine running Linux. I can add all the
>> alias IPs or even a few net intrfaces I need to the machine running
>> JMeter, but how can I configure JMeter/HttpClient so that the requests
>> will seem, to the load balancer, to be coming from different IPs?
>> Perhaps using iptables?
> The following entry in
> httpclient.localaddress
> can be used to select between multiple local host ips. However, it is
> processed at startup, so you would need to use one JMeter instance per
> host, and of course you must use the HttpClient version of the HTTP
> Sampler.

That's perfect for us. We were going to use more than one JMeter 
instance anyway.

> Runtime configuration of the address would need code (and GUI)
> changes; feel free to raise a Bugzilla enhancement request.

I won't raise one... Will pick at the code as time permits.

>> Thanks!

Thank you! Now we'll be all set to start testing on Monday :)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message