How to perform API Testing with REST-assured
We use REST-assured to test REST based APIs and the best thing about it is that it can be used with the help of maven dependencies. Here we have provided some basic commonly used code blocks to show How to perform API Testing with REST-assured. Example tests included for validate Status code, Status line and Response body using REST-assured and Java for API Test automation
REST-assured test example to validate Response Body
REST Assured test example to validate Status line
REST-Assured test example to validate status code
more code ?