Hi All, I am doing API testing through postman by giving GET and POST requests i am getting the responses by connecting to HOST. But through Devtest i am getting java.net.UnknownHostException: cb.test.dev.telstra.com while trying to get response through Devtest by submitting POST request
Step 1: I have generated access tokens through GET call by conencting through the HOST
Step 2: Even after giving token name as Authorization key and value. I am not able to connect to the HOST through Devtest
Hi,
This is not an issue with security tokens but rather a DNS issue. The system where the recorder is running cannot resolve this hostname cb.test.dev.telstra.com to an actual IP address. As mentioned this needs to be resolved on DNS level.
Work-arounds could be:
- use the actual IP address instead of the host name when setting up the recorder
- add cb.test.dev.telstra.com and its IP address to the hosts file on the system that will run the recorder
Cheers,
Danny