DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43730>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43730

           Summary: User-settable JVM DNS cache expiry
           Product: JMeter
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I understand that the JVM caches successfull DNS name lookups forever by 
default. This is confirmed by this document (see note on 
networkaddress.cache.ttl property):
  http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html

The Java DNS cache ignores the DNS TTL property. This can cause issues, for 
instance with a long-running test when an IP address changes on a server farm, 
or when DNS round-robin load balancing is used during a load test (a JMeter 
instance will only ever test one node in a cluster). 

Can JMeter be enhanced to allow the user to override Java's default DNS-
caching behaviour in a user-setting at the beginning of the test?  This will 
enable it to work properly (i.e. as a browser would) in these scenarios. The 
setting would allow the user to set a time limit on networkaddress.cache.ttl  -
it could be set to emulate IE (30 minutes, according to some reports) or 
Firefox (1 minute). 

This issue was discussed on the JMeter users list towards end-October 2007:
http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200710.mbox/%
[EMAIL PROTECTED]

This could be implemented as part of a more generic control to set the Java 
Network properties (see the first link above.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to