GET Request
In this lesson, we will learn to automate an HTTP GET request using Rest Assured.
We'll cover the following...
We'll cover the following...
HTTP GET request automation
Rest Assured uses given/when/then syntax from behavior-driven development as it makes it easy to read and write tests.
Example 1 – Fetch all student records
HTTPMethod: GET- Target URL:
http://ezifyautomationlabs.com:6565/ - Resource path:
/educative-rest/students - Take a look at the code below:
For logging, we are creating an instance of the Logger interface for GETRequestTest class which internally uses logback for the concrete implementation. ...