REST API tesing using REST_ASSURED
API'S under test :
https://jsonplaceholder.typicode.com
Goal:
1) Validate the status code
Hit the api and validate the status code
2) Validate the schema
Get the sample schema from some online schema generator (Ex: https://www.jsonschema.net/)
Modify the schema and the rules based on your requirement
Put the schema file in the classpath
3) Validate the data