REST Assured Tutorial 15 – Multiple Ways of Calling HTTP Methods on a RequestSpecification

As a part of End to End REST Assured Tutorial , in this post We will learn about calling HTTP methods ( get, post, put etc) on a RequestSpecification. We have already seen what is Request Specification in Rest Assured. The major confusing and interesting thing about Rest Assured is that you have multiple ways … Continue reading REST Assured Tutorial 15 – Multiple Ways of Calling HTTP Methods on a RequestSpecification

REST Assured Tutorial 14 –Interface RequestSpecification – How the request will look like

As a part of End to End REST Assured Tutorial , in this post We will learn about an important interface named "RequestSpecification" in Rest Assured. RequestSpecification is an Interface whose implemented class is RequestSpecificationImpl. This interface helps you to create request or how the request will look like. For example:- What will be the … Continue reading REST Assured Tutorial 14 –Interface RequestSpecification – How the request will look like

REST Assured Tutorial 14 – BaseURI and BasePath – Introduction and Configuration

As a part of End to End REST Assured Tutorial , in this post We will learn about BaseURI and BasePath in Rest Assured. We have already written CRUD operations in Rest Assured and you must have noticed I have used "baseUri()" method to set the API URI. You may have thought that API URI … Continue reading REST Assured Tutorial 14 – BaseURI and BasePath – Introduction and Configuration

REST Assured Tutorial 12 – Let’s Write First DELETE Request in REST Assured

As a part of End to End REST Assured Tutorial , in this post We will write first DELETE request in REST assured. I will strongly recommended you to learn basics of API testing from here. To learn what is DELETE request and how can you hit a DELETE request in Postman tool, must refer this post. … Continue reading REST Assured Tutorial 12 – Let’s Write First DELETE Request in REST Assured

REST Assured Tutorial 11 – Let’s Write First PATCH Request in REST Assured

As a part of End to End REST Assured Tutorial , in this post We will write first PATCH request in REST assured. I will strongly recommended you to learn basics of API testing from here. To learn what is PATCH request and how can you hit a PATCH request in Postman tool, must refer this post. … Continue reading REST Assured Tutorial 11 – Let’s Write First PATCH Request in REST Assured

REST Assured Tutorial 9 – Let’s Write First POST Request in REST Assured

As a part of End to End REST Assured Tutorial , in this post We will write first POST request in REST assured. I will strongly recommended you to learn basics of API testing from here. To learn what is POST request and how can you hit a POST request in Postman tool, must refer this post. … Continue reading REST Assured Tutorial 9 – Let’s Write First POST Request in REST Assured

REST Assured Tutorial 8 – BDD Style in Rest Assured

As a part of End to End REST Assured Tutorial , in this post We will learn about "BDD Style in REST Assured". BDD is an agile software development process (Not a Software Testing process) which defines expectation from an application to behave from intended user prospective. Each scenario is written in form of Given … Continue reading REST Assured Tutorial 8 – BDD Style in Rest Assured

REST Assured Tutorial 7 – Builder Pattern in REST Assured

As a part of End to End REST Assured Tutorial , in this post We will learn about "Builder pattern in Java and how REST Assured uses it". If you refer any tutorial or official website of Rest Assured, they start with an examples as below:-

Beginners may confuse easily with syntax. THe purpose of … Continue reading REST Assured Tutorial 7 – Builder Pattern in REST Assured

REST Assured Tutorial 6 – Interface in OOPS – Implement As You Wish

As a part of End to End REST Assured Tutorial , in this post We will learn about Interface in Java. I will strongly recommended you to go through the topic Abstraction - Hide the implementation before continuing this post. Let's start with a real time example. You would be reading this post on a … Continue reading REST Assured Tutorial 6 – Interface in OOPS – Implement As You Wish

REST Assured Tutorial 4 – Let’s Write First GET REST Assured Test

As a part of End to End REST Assured Tutorial , in this post We will write first GET request in REST assured. I will strongly recommended you to learn basics of API testing from here. We will automate a GET request named "GetBookingIds" from Restful Booker. We will verify status code and line of … Continue reading REST Assured Tutorial 4 – Let’s Write First GET REST Assured Test