in reply to [Solved] Testing Dancer2 - simulating requests from different IP addresses

Perhaps you could add logic to your app that reads an additional attribute or environment variable ( e.g. $args{'test_ip_addr'}, $ENV{'MY_APP_TEST_IP'} ) and uses it, if present, instead of the real IP.

Hope this helps!


The way forward always starts with a minimal test.