hill_t
9 years agoNew Contributor
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 it is no longer available. Does anyone have experience with controlling this either through Ready API! settings or a system setting?
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".