Automate WebServices Rest API (testing) using Java

Prepare Automation Java Suite for testing Rest API

4.65 (1853 reviews)
Automate WebServices Rest API (testing) using Java
5.5 hours
Oct 2018
last update
regular price

What you will learn

Understand Rest API

Prepared testcases in Java for Rest api

Rest Assured Library to automate API


API testing is integration testing of API's which checks the functionality , performance & security aspects of API's.

As GUI test is difficult to maintain and requires a considerable amount of period, API has evolved as primary testing of application logic.

API to be tested are those which are developed by development team or third party API's which we would consume in our project.


API testing involves:

  • Calling the API with different parameter values
  • API boundary value conditions
  • Actions performed by API i.e. updating database, calling other API
  • Validating Response


Popular API which are used are REST implement in JSON format, which we will be looking during the course. Rest has become  most popular because it is light and easy to maintain.


Rest-assured is library developed by Jaway which is best open source library specially designed to automated Rest API. It also supports XML and JSON Request/Responses.

No need of any tool when you need to automate API, simple coding skills will let you perfect automation of API, will be taught during the course.


  • Request can be easily prepared and send over internet
  • Assertions in Response data
  • Clean code which is easy to be maintained




Introduction to API's

What are Web Services
Introduction to Soap Protocol
What are Rest API' - GET, POST, PUT & DELETE
Real example of Rest Api

Configuring Automation Project

Configuring Maving Project for automation Suite
Downloading prerequites to start automation
Downloading prerequites to start automation
First Test for GET Request
First Test for GET Request
Using Parameters and Authorization
Using Parameters and Authorization
How to Handle Get Requests
What are json path and to calculate
Calculating complex paths
Extracting actual result from api's
Transfering api reponse to other api
Installing & Configuring API server
Automating the Post Request as a string body
Request by post object
Example with PUT API
PATCH request for updating
DELETE Request

Developing Objects for complex POST requests

Generating complex objects for POST request
POST Request with arrays
Calculate Response time of API

Bonus Lecture - SQL Commands

Create Table
Insert into table
Delete Table
Add Column
Delete Column
Modifying datatype of Column
Update record
Delete record
Select distinct
Where OR
Where AND
Where Not
Order by


Automate WebServices Rest API (testing) using Java - Screenshot_01Automate WebServices Rest API (testing) using Java - Screenshot_02Automate WebServices Rest API (testing) using Java - Screenshot_03Automate WebServices Rest API (testing) using Java - Screenshot_04


September 20, 2022
Yes. Good match and this session made much easy to learn how to get responses from different HTTP Methods using Rest Assured.
March 22, 2022
I am not happy with the presentation and explanation. There are so many drawbacks here, 1) He is not even able to explain the process properly. And keeps on repeating this is not needed. this is not needed. 2) The way things are presented are nt clear.
January 20, 2021
Hi sir, this is the first time I am listening to webservices/API it was good ,simple and easy understanble with examples.
December 1, 2020
Yes. Best part is i got to know errors which we may encounter while automating. For example Printing a response object in console. We should use S.O.P(respObject.asString()). It helps beginners and then always emphasizing on like POST/PUT should have ContentType.JSON It helps a lot @Vaibhav thank you :)
July 18, 2020
Thanks for sharing this videos This is helpful for all the new learners ,who want to start API testing . your explaining way is good and easily under stable..
July 16, 2020
Thanks to Vaibbhav sir for this course. Contents were very informative, definitely he is a very good teacher , explains concepts clearly and i understand very well.
June 17, 2020
Really I am Manual candidate after gone through this course in a much better position to Automate webservices Rest API thanks to Vaibhav and expecting more videos from Him...
May 19, 2020
Thank you for a such brilliant course. I learned a lot about REST and thanks for giving demo using live example which are really helpful for us. Thank you so much.
April 26, 2020
Best thing about the course content was awesome and the way to understand us really up to the mark but need to add some more content about rest assured.
April 14, 2020
Great lectures. Good examples covered from basic to complex scenarios. Tip and tools for JSON are very helpful. Thank you so much!
April 11, 2020
I really recommend this course to learn the basics of Rest, like post, put, get and delete, i also learned how to validate the response, and how to work with json file, i think that the fact that this is a free course makes it more incredible.
April 2, 2020
Easy to follow, simple examples to quick understand the concepts and all details were including to execute test runs. Excellent work. Thank you!
March 16, 2020
It was good experience learning from these lectures. This is best course for basics. The trainer could have covered some detail level coding for API
March 15, 2020
Providing some more examples on get method would help more.Like how to validate the values received from get call etc.
February 22, 2020
Best vedio, very clear instruction, neat presentation, topic well lined up. Thank you for making this presentation.



Automate WebServices Rest API (testing) using Java - Price chart


Automate WebServices Rest API (testing) using Java - Ratings chart

Enrollment distribution

Automate WebServices Rest API (testing) using Java - Distribution chart
udemy ID
course created date
course indexed date
course submited by