I am working on a project which needs me to do REST based call (JSON Response). My test case acts as a driver hence have created a scheduler where initial authentication generates a token and then this is used for the next POST call. My Authentication call is working without any issues and getting a token generated, however the API call is failed saying "503 - Service Unavailable".
However, when I hit the same API with the newly generated token via PostMan, its working and giving 200 Success response.
I am able to ping the server too [ping slot3.org009.t-dev.corp.telstra.com] and getting a success response from command line prompt.
I have also given the proxy setup at the step level(in the Companions section of the step) but it is still failing.
Below is the error in the 'Test Events':
<p>
The host name resolution (DNS lookup) for this host name
( slot2.org009.t-dev.corp.telstra.com ) has failed. The Internet address may be misspelled or obsolete,
the host ( slot2.org009.t-dev.corp.telstra.com ) may be temporarily unavailable,
or the DNS server may be unresponsive.
</p>
------------------------------
Regards,
Kaushik M D
Test Architect
Telstra
+61 421132637
------------------------------