By default the underlying Java Virtual Machine will only call the DNS server every once in a while and keep the IP associated with the DNS in its cache. Real users on the other hand will call the DNS when they first connect. You might need to emulate this behavior by clearing the DNS cache of the JVM every time a virtual user does a new iteration. In particular when when load testing a website behind a CDN (Content Delivery Network) or several load balancers (like AWS Elastic Load Balancer), since they tend to load balance users by changing the DNS on the fly.
- Clear dns cache on each iteration: when true, the virtual user resolves the server IP behind the domain on each iteration,
- Custom servers: when any defined, overrides the system default DNS server.
- Static Hosts: to override IPs (right column) associated to host names (left column).
If you need to override IPs associated to host names you can also upload a
hosts file in the files manager