Hi Farid: 

> > >  The application that I want to test has IP based load balancer. 

Just wanted to add: is this IP load balancer a DNS-based load balancer
by any chance? (e.g., DNS round-robin)

There can be issues with JMeter and DNS-based load balancers. The
problem is the Java underneath JMeter caches DNS name resolution. So
when a JMeter instance starts up, the target DNS entry is initially
resolved to one IP address, and further JMeter requests become 'sticky'
to that IP address. 

The workaround is use a Java flag to disable/minimize DNS caching. 

Note: this problem does not exist with a hardware-based (non-DNS) load
balancer that 'fronts' multiple systems with a single IP that never
changes. 

Regards,
Sonam Chauhan

-----Original Message-----
From: Manish Sapariya [mailto:[email protected]] 
Sent: Wednesday, 4 February 2009 12:10 AM
To: JMeter Users List
Cc: [email protected]
Subject: Re: JMeter IP Spoofing



sebb wrote:
> On 03/02/2009, uzfarid <[email protected]> wrote:
>>  Hello,
>>
>>  The application that I want to test has IP based load balancer. From
what I
> 
> Which is probably not going to work very well if it will be accessed
> from behind a NAT router.
> 
>>  understood is that Jmeter does not have IP spoofing.
> 
> No, it does not.
> 
> But if the JMeter host has multiple IP addresses, and you use the
> HttpClient version of the HttpSampler, you can use a property
> 
> httpclient.localaddress
You can use aliasing to create multiple IP addresses on your machine
using instructions specified here along with the flag above.

http://www.webperformanceinc.com/support/suite/manual/multiple_ip_addres
ses.html

Ability to use local address looks very handy though I have not used.

Following link discusses how to achieve same using watir, just in case
you need details what I am talking about.

http://groups.google.com/group/watir-general/browse_thread/thread/5301f2
f56c0174e6/85578e4ab5d04042?lnk=gst&q=fake#85578e4ab5d04042

Regards,
Manish

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


The information contained in this email and any attached files are strictly
private and confidential. This email should be read by the intended addressee
only.  If the recipient of this message is not the intended addressee, please
call Corporate Express Australia Limited on +61 2 9335 0555 or Corporate Express
New Zealand Limited on +64 9 279 2555 and promptly delete this email and any
attachments.  The intended recipient of this email may only use, reproduce,
disclose or distribute the information contained in this email and any attached
files with Corporate Express' permission. If you are not the intended addressee,
you are strictly prohibited from using, reproducing, disclosing or distributing
the information contained in this email and any attached files.  Corporate
Express advises that this email and any attached files should be scanned to
detect viruses. Corporate Express accepts no liability for loss or damage
(whether caused by negligence or not) resulting from the use of any attached
files.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to