REST Assured Tutorial 18 – Querying RequestSpecification in Rest Assured

As a part of End to End REST Assured Tutorial , in this post We will learn about "Querying RequestSpecification in Rest Assured". We know that RequestSpecification is used to create a request or how the request will look like. We set base URI, base path, headers, etc to request using RequestSpecification. There is a … Continue reading REST Assured Tutorial 18 – Querying RequestSpecification in Rest Assured

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 10 – Let’s Write First PUT Request in REST Assured

As a part of End to End REST Assured Tutorial , in this post We will write first PUT request in REST assured. I will strongly recommended you to learn basics of API testing from here. To learn what is PUT request and how can you hit a PUT request in Postman tool, must refer this post. … Continue reading REST Assured Tutorial 10 – Let’s Write First PUT 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

Usage of Java Stream API in Selenium – Retrieving Unique Text From a List Of WebElements

In previous post, we learnt to Retrieve text from a list of web elements using Java Stream APIs. You may require just to retrieve unique text only. We used a List in previous post which allows duplicates. We can just use a Set to avoid duplicates. Java Code:-

Output:-

You must be thinking … Continue reading Usage of Java Stream API in Selenium – Retrieving Unique Text From a List Of WebElements

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