Unresolved Target Domain

Message: The target domain was unresolved. Please make sure your functional tests use the correct domain

What Happened: We couldnโ€™t resolve the test targetโ€™s domain name to an IP or otherwise couldnโ€™t communicate with the server

How To Solve:

1. Use โ€œlocalhostโ€ instead of IP (such as โ€œ127.0.0.1โ€) for a server running on the local machine

2. Make sure the correct environment is selected in Postman UI

3. Make sure that the domain is reachable by using Postman to run the test collection and that no โ€œDNS Lookup Failedโ€ errors were received

4. Make sure that the domain is accessible from the docker container by running the following commands in a command prompt, replace "<THE TEST DOMAIN>" with your domain:

docker run -it alpine:latest /bin/sh
ping <THE TEST DOMAIN>

Make sure that error message such as โ€œName or service not knownโ€ wasnโ€™t received

Last updated