Web Service Testing using RestAssured & Apache HttpClient
4.6 (68 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,273 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Web Service Testing using RestAssured & Apache HttpClient to your Wishlist.

Add to Wishlist

Web Service Testing using RestAssured & Apache HttpClient

Learn the testing of Restful web services using the Apache HttpClient Library from scratch and Rest Assured Framework
Bestselling
4.6 (68 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,273 students enrolled
Last updated 1/2017
English
Current price: $10 Original price: $35 Discount: 71% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 10.5 hours on-demand video
  • 5 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • By the end of this course you will give have great understanding of Restful Services
  • By the end of this course you will have great understanding of Postman client
  • By the end of this course you will have great understanding on how to use Apache HttpClient Library
View Curriculum
Requirements
  • Basic understanding of Oops concept.
  • Basic understanding of eclipse.
  • Basic understanding of Java programming language
Description

RESTful Web Services are REST architecture based web services. In REST Architecture everything is a resource. RESTful web services are light weight, highly scalable and maintainable and are very commonly used to create APIs for web based applications.

This course will teach you about the testing of Restful Web Services. In this course everything is taught from scratch.

In the first section, I am going to discuss about the basic of restful web services and required concept for this course.

In the next section, we will start with manual testing part of restful web services using Postman client. Which will give you more detail understanding about what we should test. This includes

  • Concept of HTTP methods (GET,POST,PUT and DELETE)
  • Creating and sending the request using Postman
  • Validation of response body and status code
  • Attaching the custom headers to the request
  • Validation of response in Json and Xml format


In the next section, I will start with the automation part, discussing about Apache HttpClient library. This includes

  • Setting up the Maven project for the automation
  • Creating and sending the HTTP request (GET,POST,PUT and DELETE) from the code
  • Attaching the custom headers to the request from code
  • Validation of response body and status from code
  • Deserialization of response in Json and Xml format
  • Handling the endpoint secure with SSL
  • Framework development


By the end of this course, you will have great understanding of restful service and how to automate them using Apache HttpClient library

The course is not limited to following content. In future I will keep adding the new topics to this course.

And source code shown as part of video lecture will be provided for download

Who is the target audience?
  • This tutorial is designed for Software Professionals, who want to learn the testing of web services.
  • This course include both manual testing and the automation testing apporach
  • All the tester, who want to learn the framework development using Apache HttpClient Library
Students Who Viewed This Course Also Viewed
Curriculum For This Course
97 Lectures
10:30:44
+
Introduction
2 Lectures 03:05
+
Enviroment Setup
5 Lectures 18:04
Tools Required
00:54

Setting up the jdk 1.8
05:38

Setting up the Tomcat Server
05:12

Setting up the Eclipse
05:05

Setting up the Postman Client
01:15
+
Basic of RestFul Services
5 Lectures 10:28
What is a Web Service
01:45

Request and Response
01:50

What is REST
00:48

HTTP Methods
02:16

+
Using Postman for Testing
7 Lectures 40:04
Deploying the Test Application in Tomcat
04:47

Application Under Test
03:41

Testing the GET end point part - 1
06:59

Testing the POST method
12:04

Testing the GET endpoint part - 2
02:28

Testing the PUT method
07:19

Testing the DELETE end point
02:46
+
Deep Dive into Code
24 Lectures 03:04:25
Setting up the Maven
02:45

Creating the Maven Project
05:15

Adding the dependency to the Maven Project
03:35

Creating the GET request part - 1
12:10

Creating the GET request part - 2
03:27


Creating the Framework method for GET
12:16

Creating the Junit for GET request part - 1
08:45

Creating the Junit for GET request part - 2
09:38

Adding the Header to the Request
10:09

Deserialization of JSON reponse
12:35


Posting the data from File
04:45

Creating the Framework method for POST request
09:03

Creating generic method to support different entity type
06:29

Code optimization for GET and POST request
09:15

Writing the Junit for POST method
08:27


Creating the DELTE request
06:22

Framework method for DELETE request
04:50

Writing the Junit for Delete method
06:30

Creating the PUT method
06:36

Creating the Framework method for PUT request
06:10

+
Advance Implementation
5 Lectures 25:31
Introduction to Authentication part - 1
00:52

Introduction to Authentication part - 2
01:55


Authentication from the Code
05:50

Authorization using HttpClientContext class
13:35
+
Http Client with SSL
8 Lectures 01:00:56
Introduction to SSL
01:35

Generating the SSL certificate
07:30


Writing the GET method for SSL end point
12:26

Creating the framework method for GET and POST with SSL
07:02

Writing the Junit for GET and POST with SSL
08:00

Framework method for PUT and DELETE with SSL
06:29

Writing the Junit for PUT and DELETE with SSL
13:29
+
Http Async Client
6 Lectures 37:32
Introduction to Synchronous and Asynchronous calls
02:08

Creating the Http Async Client
06:26

Writing the GET method using HTTP Async Client
11:38


Writing the framework method for POST,PUT and DELET with SSL
09:05

Writing the Junit using Http Async Client
05:23
+
Query Parameter
1 Lecture 12:58
Handling Query Parameter from code
12:58
+
Exporting the framework
2 Lectures 15:47
Exporting the framework as a JAR file
11:10

Build the Framework JAR with dependencies
04:37
8 More Sections
About the Instructor
Rahul Singh Rathore
4.4 Average rating
557 Reviews
4,381 Students
6 Courses
Software Developer Engg in Test

I have total 6 year of experience in the field of testing (Manual & Automation). Being a manual tester my major area of work is Integration, Functional & Regression testing. When it comes with automation, I deal with automation tool such as Junit, Testng, Selenium RC & Web driver. I have worked with team for developing automation framework for web based product using Selenium RC & migrating it to Web driver at later stage.

I have also worked on the testing of Restful web services. And have pretty good experience with Apache HttpClient Library.

from past 2 year, I am working as white box tester (SDET) in one of the MNC. I usually deal with testing the API written in Java. I also deal with Junit framework for doing the unit testing and also automating the unit test cases