4.14 out of 5
4.14
419 reviews on Udemy

Automate WebServices Rest API (testing) using Java

Prepare Automation Java Suite for testing Rest API
Instructor:
Vaibhav Singhal
7,169 students enrolled
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.

Advantage

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

Introduction

1
Introduction

Introduction to API's

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

Configuring Automation Project

1
Configuring Maving Project for automation Suite
2
Downloading prerequites to start automation
3
Downloading prerequites to start automation
4
First Test for GET Request
5
First Test for GET Request
6
Using Parameters and Authorization
7
Using Parameters and Authorization
8
How to Handle Get Requests
9
What are json path and to calculate
10
Calculating complex paths
11
Extracting actual result from api's
12
Transfering api reponse to other api
13
Installing & Configuring API server
14
Automating the Post Request as a string body
15
Request by post object
16
Example with PUT API
17
PATCH request for updating
18
DELETE Request

Developing Objects for complex POST requests

1
Generating complex objects for POST request
2
POST Request with arrays
3
Scripts
4
Calculate Response time of API

Bonus Lecture - SQL Commands

1
Create Table
2
Insert into table
3
Delete Table
4
Add Column
5
Delete Column
6
Modifying datatype of Column
7
Update record
8
Delete record
9
Select
10
Select distinct
11
Where
12
Where OR
13
Where AND
14
Where Not
15
Order by
16
Top/RowNum
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1
4.1 out of 5
419 Ratings

Detailed Rating

Stars 5
186
Stars 4
119
Stars 3
72
Stars 2
20
Stars 1
24
6cd88fd58ee103ff50547b0c7679a554
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion