Api Testing By Java Programming

Rest Assured with BDD Options | Detailed Java Programming | Realtime Scenario | Interview Questions

Last updated 2022-01-10 | 4.4

- End to End REST API automation using REST ASSURED and JAVA Programming
- Design REST API Testing automation framework from scratch
- Practical knowledge of basic to advance level of Java Programming

What you'll learn

End to End REST API automation using REST ASSURED and JAVA Programming
Design REST API Testing automation framework from scratch
Practical knowledge of basic to advance level of Java Programming
Detailed understanding of Java Concepts
Programming and its implementation in RestAssured
Able to crack REST ASSURED interviews with Java Programming skills

* Requirements

* Basics of any programming knowledge
* Basics understanding of REST API
* its implementation and Testing
* Basic understanding of API Manual Testing

Description

REST Assured API is one of the most popular library when it comes to automating the REST APIs. Most of the today's web applications are backed by the Micro services architecture and the REST APIs.

REST stands for REpresentational State Transfer. REST is web standards based architecture and uses HTTP Protocol for data communication.

In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources.

What topics are covered in this course?

  • API Basics

  • JSON & JSON Path

  • End to End Setup

  • Java Programming Basics

  • Rest Assured - Setup, Write Test Case

  • Rest Assured - Test Case in TestNG format

  • Rest Assured - Assertion (On header, body and status code)

  • Serialization & De-serialization: POJOs

  • HashMap to JSON object

  • ArrayList to JSON array

  • Complex POJO Example

  • Full JSON body matching

  • Parameterization using TestNG Data provider

  • Rest Assured - Request Specification

  • Rest Assured - Response Specification

  • Rest Assured - Automate Post, Put, Del

  • Rest Assured - Multiple ways to send request payload

  • Rest Assured - Complex JSON in request body

  • Rest Assured - Request Parameters

  • Rest Assured - JSON Schema Validation

  • Rest Assured - Logging Filters

  • Rest Assured - Configs

  • Framework Design

  • Code Management

  • Jenkins Integration

  • Java Coverage

  • OOPS Concepts

  • Excel Handling

  • Database Handling

  • TestNG Basic to Expert

  • Collections

  • Serialization & De-serialization: POJOs

  • HashMap to JSON object

  • ArrayList to JSON array

  • Complex POJO Example

  • Full JSON body matching


Framework Development->

  • BDD Framework with Features

  • Scalable Framework Structure

  • Configurations

  • Reporting

  • Automate positive and negative scenarios

  • Data driven using TestNG Data Provider

  • Cucumber Implementation

  • Best Practices

  • Property and Configuration

  • Integration with Git

  • Integration with Jenkins


Tool, Library & Technology

  • Eclipse

  • Rest Assured

  • TestNG

  • Cucumber

  • Reporting

  • Java

  • Allure Reports


Outcome of this course

1. Expertise in Java Programming

2. Expertise in API Concepts

3. Able to design End to End API Automation Framework

4.  Ready to face Automation interviews



Who this course is for:

  • Software Testers/ QA looking to test/automate REST API testing
  • Manual Testers looking to switch in to Automation / REST API Automation
  • Freshers looking opportunity in Software Testing

Course content

29 sections • 129 lectures

What is WebService Preview 06:16

WebService Example Preview 05:14

Advantage of WebService over WebBased Application Preview 05:58

Difference between API and WebService Preview 05:01

Different type of Services : Soap and Rest Preview 16:42

Micro Service Introduction Preview 05:29

Understand UDDI Preview 03:51

Java(JDK) Installation on Windows Machine Preview 07:57

Eclipse Installation : Setup environment for Code Writing Preview 02:59

Introduction to Eclipse | Walkthrough to Eclipse Environment Preview 11:17

Start Java programming - Project & Package Preview 12:45

How to Define Variables & Constants in Java Preview 10:57

What is Class ? & How to access class members by using Object Preview 15:51

Methods(Functions) in Detail : Different types of Methods Preview 20:28

Constructor | What is Constructor and How to Write Constructor Preview 08:34

Where to use Constructors (Practical Usecase) Preview 08:22

Read data from user at runtime : Take User Input Preview 06:27

Simple Condition Handling - IF - Else (Handle 2 conditions) Preview 06:31

Multiple Condition Handling (If - Else if - else) with practice exercise Preview 06:51

Condition handling with Logical OR / AND Preview 05:53

Nested Condition Handling (Condition inside Condition) Preview 03:02

For Loop : Run Loop with increment and Decrement Order Preview 14:40

While Loop Preview 05:17

Do While Loop Preview 04:20

For Each loop : Advance For Loop for Group of Data Preview 09:11

Nested Loop : Loop inside Loop Preview 07:02

String Handling - Part1 : What is String -String Functions(Length, Upper, Lower) Preview 12:01

String Handling - Part2 : String Functions- Replace, SubString, Split, Concat Preview 10:09

String Handling - Part3 : String Comparison Preview 04:44

Array In Java Preview 11:23

Multi dimension Array Preview 05:37

File Reader - File Reader (Read data character by character) Preview 14:00

File Read - Buffered Reader (Read data line by line) Preview 03:45

File Write - File Writer : Write data character by character Preview 07:04

File Write - BufferedWriter : Write data line by line Preview 02:58

Encapsulation : Wrapping up data & functions in single unit Preview 09:55

Inheritance : Transfer Property of a class to another class Preview 11:24

Types of Inheritance - Single Inheritance Preview 05:11

Types of Inheritance - Multilevel Inheritance Preview 07:51

Types of Inheritance - Hierarchical Inheritance Preview 05:01

Polymorphism : Data Overriding (Override Parent Class Methods) Preview 03:31

Overloading (Compile Time Polymorphism) Preview 07:03

Overriding (Runtime Polymorphism) Preview 11:09

Abstraction with Interview Questions Preview 16:18

Interface : To Achieve 100% abstraction Preview 09:01

Multiple Inheritance using Interface Preview 05:01

Hybrid Inheritance using Interface Preview 08:52

public modifier : Access members throughout package Preview 03:50

private modifier : Access members within class Preview 02:51

default modifier : Access members within package Preview 02:21

protected modifier : Access members within package and child class Preview 04:26

Access Modifiers on class level Preview 06:06

Implicit & Explicit Type Casting Preview 08:02

Explicit Type Casting - By Classes Preview 06:10

What is Exception & Exception Handling Preview 10:01

Throws keyword in exception handing Preview 07:28

Exception Handling using Try-Catch Preview 06:20

Exception Handling: Multi Catch block Preview 07:26

Finally keyword Preview 05:24

Throw keyword Preview 06:45

What is Debugging Preview 07:40

Difference between Step Into | Step Over | Step Return Preview 04:22

Exception Breakpoint Preview 02:27

What is Maven | Why as Tester we use MAVEN Preview 08:11

How to setup maven project Preview 04:33

Understand POM.xml | Add Project Dependencies |Check Maven Repository Workflow Preview 12:11

Setup Apache POI Preview 07:02

Read Data from Excel file Preview 11:15

Find number of rows and columns Preview 07:19

Read complete data from excel sheet Preview 07:14

Read Different formatted data Preview 06:10

Write data to File Preview 06:33

Read content from Property file Preview 14:09

TestNG Introduction and Setup on Eclipse Preview 11:33

Write First Test Case using TestNG with Basic Annotations Preview 09:12

Multiple Test cases in file | Enable - Disable Test Case | Priority Preview 10:06

TestNG.xml | Default Reporting Preview 10:03

Assertions | Dependent Test Cases | Execute Failed Test Case Preview 14:04

Annotations in TestNG Preview 05:36

Grouping TestCases in TestNG Preview 10:44

Introduction to DB Connection with Java Preview 05:17

Create Project Structure with DB Connection Preview 06:39

Connect and Fetch data From Database Preview 14:03

Setup Sample Applications for Practice Preview 10:09

Basic understanding of JSON Preview 09:40

What is JSON Path | Calculate JSON Path Preview 06:03

JSON Path Advance Options Preview 05:44

REST API Methods Preview 08:44

Setup Project for API Testing with Dependencies Preview 09:20

Write First Test Case : GET Request Preview 09:52

GET Request : Validate Response Status Code | Headers | Body Content Preview 15:31

Create Test Case : POST Request | Validate Response Preview 13:34

Create Test Case : PUT Request | Validate Response Preview 10:01

Write First Test Case : DELETE Request Preview 05:41

Write First Test Case : Data sharing between Request Preview 12:09

Static Import | Update Test Cases Preview 03:05

Write Test Case in BDD Format Preview 07:28

End to End Test Case - Part 1 Preview 09:58

End to End Test Case - Part 2 Preview 08:04

End to End Test Case - Part 3 Preview 04:17

Understand Endpoint URL Preview 08:55

GET Request with Distributed URL Preview 06:59

GET REQUEST : with Path Parameters Preview 09:46

GET REQUEST : with Query Parameters Preview 05:00

POST Request with String Body Preview 03:41

POST Request with external JSON body Preview 11:23

POST Request with External File Read Preview 05:06

Create first POST Test Case Preview 10:54

Create POST Test Case with JSON object Preview 13:02

Create PUT Test Case with JSON Object | Update Resource Preview 10:15

Create PATCH Test Case with JSON Object | Update Resource Preview 07:08

Create DELETE Test Case with JSON Object | DELETE Resource Preview 04:20

Validate JSON using JsonPath Preview 03:32

Validate Multple JSON data using JsonPath Preview 04:26

End to End API Automation - Part-1 Preview 11:25

End to End API Automation - Part-2 Preview 04:12

End to End API Automation - Part-3 Preview 04:59

End to End API Automation - Part-4 Preview 03:19

Jira Project Setup for Practice Preview 06:13

Set Authentication in API Preview 03:08

JIRA : Fetch Issue Details Preview 07:44

Generate default reports using TestNG | Advance report using ReportNG Preview 15:56

Generate report in excel format Preview 12:58

Extent Report Preview 21:30