Question Asked in interview
Create a script tomake get request to the service using rest assured.
http://restcountries.eu/rest/v1/name/INDIA
Verify that "Republic of India" is found in the response.
Print that response on the command line.
When you pass country code as xyz
{"status":404,"message": "not foiund"}
is present in response
Print that response on the command line
Share code how we can do above one.
Thanks
Any updates for above one raised questions