Automate WebServices Rest API (testing) using Java

Prepare Automation Java Suite for testing Rest API

4.65 (1853 reviews)
Udemy
platform
English
language
Other
category
instructor
Automate WebServices Rest API (testing) using Java
40,010
students
5.5 hours
content
Oct 2018
last update
FREE
regular price

What you will learn

Understand Rest API

Prepared testcases in Java for Rest api

Rest Assured Library to automate API

Description

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.

Advantage

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

Content

Introduction

Introduction

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
Scripts
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
Select distinct
Where
Where OR
Where AND
Where Not
Order by
Top/RowNum

Screenshots

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

Reviews

Anand
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.
Abhay
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.
Navya
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.
Pratyush
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 :)
Pritesh
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..
Prasanna
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.
Prashant
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...
Aarti
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.
Rohit
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.
Xu
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!
Héctor
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.
Azat
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!
Richa
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
Prajwala
March 15, 2020
Providing some more examples on get method would help more.Like how to validate the values received from get call etc.
Shanthi
February 22, 2020
Best vedio, very clear instruction, neat presentation, topic well lined up. Thank you for making this presentation.

Charts

Price

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

Rating

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

Enrollment distribution

Automate WebServices Rest API (testing) using Java - Distribution chart
848816
udemy ID
5/14/2016
course created date
5/14/2019
course indexed date
Bot
course submited by