Forum Discussion

hill_t's avatar
hill_t
New Contributor
9 years ago

Setting for endpoint dns cache

Is there any way to control the dns cache settings for Load UI tests?  The issue is when testing with network changes going on we want to ensure that requests do not continue to go to one server if i...
  • hill_t's avatar
    hill_t
    9 years ago

    We found a solution to this issue so I wanted to post it here in case someone else was searching for something similar and found my post.

     

    Changed the value of networkaddress.cache.ttl property in java.security from -1 to 0. This property indicates how many seconds to cache the most recent successful lookup. A value of -1 means to "cache forever" and a 0 means "never cache".