Udemy

REST API Automation With REST Assured - A Complete Guide

Enroll Now
  • 13,076 Students
  • Updated 7/2023
4.3
(2,066 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
14 Hour(s) 9 Minute(s)
Language
English
Taught by
Tejasvi Hegde
Rating
4.3
(2,066 Ratings)

Course Overview

REST API Automation With REST Assured - A Complete Guide

Learn every topic in Rest-Assured with Real World Examples & Test Automation Framework development with CI !!

**COMPLETE GUIDE FOR REST ASSURED WITH REAL-WORLD API'S, THROUGH COVERAGE ON FRAMEWORK DEVELOPMENT**

In the 21st century, almost all web applications use web services to communicate or interact with each other. Most modern-day web services are built on Representational state transfer (REST) architecture; REST has gained a lot of popularity and it will continue to do the same due to its simplicity in comparison with other technologies.

It is very important for software QA engineers, automation engineers, and software developers to understand the importance of Web Services testing and more importantly how to automate these tests. Automating Application Program Interface (API) tests are critical and crucial for most projects due to the fact that API tests are far more stable, reliable and fast.

In this course, you will be provided with the tools and techniques needed to be successful with REST API automation. We will be focusing on the important topics listed below:

  • Introduction to REST Assured, which is a popular open-source library used for API test automation. Learn to write tests for GET, POST, PUT, PATCH and DELETE operations using a sample application provided in the course

  • Understand and use JSONPath, XML Path (with Groovy syntax) to assert and extract the response

  • Simplify writing JSONPath by using Root path feature

  • Practical examples demonstrating different Rest Assured topics (Request Specification, Response Specification, Logging, Parameters, File Download etc.)

  • Logging Request and Response information based on test status

  • Avoiding writing repetitive code by using Request/Response specification concepts

  • Adding multiple assertions to a single test

  • Soft Assertions in Rest Assured

  • File Download

  • File Upload using the multipart method

  • Work with real-world examples such as Walmart Search API, PayPal Payment Service

  • Use PayPal Web Service to learn different concepts like Authentication using OAuth 2.0, passing of access tokens to different requests, and executing GET, COMPLEX POST requests

  • Use OAuth 1.0 authentication with Twitter to create Tweets, read tweets using Rest-Assured

  • Authenticating into applications which implement Form Authentication using Spring Security

  • Authenticating into applications that implement Form Authentication using Spring Security & CSRF token implementation.

  • Sending Soap Requests using Rest-Assured

  • Sending requests via Proxy Server

  • Parsing HTML Data using JSOUP Library

  • Using JSONAssert Library to assert on complete JSON responses

  • Learn to use setup & configure Allure Reports

  • Provide beautiful DisplayNames, Descriptions, link information in your reports

  • Add detailed test step information & attachment information in the reports

  • FRAMEWORK DEVELOPMENT WITH JAVA, JUNIT, ALLURE REPORTS

  • Continuous Integration(CI) with Git, Github & Jenkins

At the end of this course, you will feel at "Rest" and will be "Assured" to take up API Testing, API Automation and successfully execute it in your organization!



Course Content

  • 27 section(s)
  • 109 lecture(s)
  • Section 1 Introduction to the course
  • Section 2 Setting up the Student Sample Application
  • Section 3 Writing Tests using REST Assured
  • Section 4 Logging Request and Response Data in Rest Assured
  • Section 5 Extract data from Json response using JSONPath
  • Section 6 (WALMART API-OLDER EXAMPLES) -JsonPath Response extraction
  • Section 7 Extract data from xml response using XML Path
  • Section 8 Assertions in REST Assured using Hamcrest Library
  • Section 9 JSONAssert Library for asserting on complete JSON Responses
  • Section 10 Root Path in REST Assured
  • Section 11 Request Specification and Response Specification
  • Section 12 Filters in Rest-Assured
  • Section 13 File Downloads in REST Assured
  • Section 14 Basic Authentication with File Uploads using REST Assured
  • Section 15 Checking Response Time
  • Section 16 Sending SOAP Requests in Rest-Assured
  • Section 17 Requests via ProxyServer
  • Section 18 Authentication (OAuth2.0) with Paypal Payment Web Service (SANDBOX ENVIRONMENT)
  • Section 19 OAuth1.0 Authentication with Twitter API
  • Section 20 Form Authentication (Spring Security) in Rest-Assured
  • Section 21 Parsing HTML Data with JSOUP Library
  • Section 22 Form Authentication with CSRF Token in Rest-Assured
  • Section 23 Allure Reports
  • Section 24 *AUTOMATION FRAMEWORK* with JUNIT-4
  • Section 25 Source control with Git, GitHub
  • Section 26 Integration with Jenkins, Github
  • Section 27 Downloadable Code

What You’ll Learn

  • File Uploads ,File Downloads , Sending SOAP Requests, Sending requests via proxy server using Rest Assured, **TEST AUTOMATION FRAMEWORK DEVELOPMENT & CI WITH GIT,JENKINS***, OAUTH1 Authentication with Twitter, Authentication OAUTH2 with Paypal in Rest Assured, Authentication with Spring Security & CSRF Token based apps in Rest Assured, Logging, request/response specifications, RootPath, JSONPath, XMLPath, JSoup Libraries for extracting data, Hard Asserts, Soft Asserts,Multiple Asserts , complete JSON Body Assertions using JSONAssert Library, Continuous Integration with GitHub & Jenkins, Allure Reports Implementation in TestFramework & configuration with Jenkins

Skills covered in this course


Reviews

  • S
    SAURABH SANJAYRAO ARGULWAR
    4.5

    so far going in good way

  • S
    Steven Robbins
    2.0

    I am all windows, this course is setup for a mac and it doesn't seem to cross over well.

  • K
    Kamlesh Pal
    4.5

    I am on my journey of swiching from front end QA to backend testing and looked for resources that will help me understand and judge the skills needed to make that switch. I enrolled in this course and completed it. In my experienc it help me to undertand API testing from scratch. All topics covered to the point in detail. Another good aspect is covering material using real time apis like BestBuy and Twitter. This course help me to prepare my interview by mentioing coding to the point on asked questions. I recommand this course to the candidates who really want to get a hold on API testing. Thanks to the instructor constantly updating the course as well.

  • N
    Nishtha Sharma
    4.0

    Excellent

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed