Automate WebServices Rest API (testing) using Java

Prepare Automation Java Suite for testing Rest API
Free tutorial
Rating: 4.3 out of 5 (1,384 ratings)
28,842 students
Automate WebServices Rest API (testing) using Java
Free tutorial
Rating: 4.3 out of 5 (1,384 ratings)
28,842 students
Understand Rest API
Prepared testcases in Java for Rest api
Rest Assured Library to automate API

Requirements

  • Basic knowledge
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
Who this course is for:
  • Manual/Automation testers
  • Developers
  • Managers, architects
  • Anyone in industry who want to get knowledge of Rest API or how to automate them
Course content
5 sections • 43 lectures • 5h 40m total length
  • Introduction
    04:26
  • What are Web Services
    09:12
  • Introduction to Soap Protocol
    13:47
  • What are Rest API' - GET, POST, PUT & DELETE
    11:35
  • Real example of Rest Api
    06:50
  • Configuring Maving Project for automation Suite
    09:48
  • Downloading prerequites to start automation
    10:00
  • Downloading prerequites to start automation
    12:08
  • First Test for GET Request
    11:05
  • First Test for GET Request
    14:43
  • Using Parameters and Authorization
    08:32
  • Using Parameters and Authorization
    10:47
  • How to Handle Get Requests
    07:48
  • What are json path and to calculate
    10:57
  • Calculating complex paths
    11:34
  • Extracting actual result from api's
    10:02
  • Transfering api reponse to other api
    17:40
  • Installing & Configuring API server
    11:36
  • Automating the Post Request as a string body
    15:08
  • Request by post object
    14:35
  • Example with PUT API
    10:25
  • PATCH request for updating
    10:21
  • DELETE Request
    05:43
  • Generating complex objects for POST request
    17:41
  • POST Request with arrays
    16:55
  • Scripts
    00:02
  • Calculate Response time of API
    07:54
  • Create Table
    05:37
  • Insert into table
    05:47
  • Delete Table
    03:13
  • Add Column
    03:20
  • Delete Column
    01:18
  • Modifying datatype of Column
    03:10
  • Update record
    02:56
  • Delete record
    02:21
  • Select
    01:41
  • Select distinct
    02:02
  • Where
    04:56
  • Where OR
    03:20
  • Where AND
    03:10
  • Where Not
    01:17
  • Order by
    02:42
  • Top/RowNum
    02:10

Instructor
Software Testing Coach
Vaibhav Singhal
  • 4.2 Instructor Rating
  • 10,033 Reviews
  • 124,027 Students
  • 14 Courses


I have be in software testing since a decade. Worked with different testing techniques along with exploratory testing. Performed different regression, performance, api etc testing with tools and libraries like selenium, jmeter, loadrunner, protractor, rest assured, Katalon and others.

Worked with various MNC's on various profiles and managed automation projects.

Objective: to help software testing community