Solution Is rquired | Rest Assured Forum
J
Jai Jagadeesha Posted on 22/05/2022

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


J
Jai Jagadeesha Replied on 08/09/2022

Any updates for above one raised questions