REST API Automation With REST Assured - A Complete Guide

REST API Automation With REST Assured - A Complete Guide

image description

What you will learn

  • File Uploads, File Downloads, Sending SOAP Requests, Sending requests via a proxy server using Rest Assured

  • 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

Curriculum

Section 1: Introduction to the course

Section 2: Setting up the Student Sample Application

Section 3: Writing Tests using REST Assured(SKIP IF YOU HAVE SEEN THIS IN PART 1)

Section 4: Logging Request and Response Data in Rest Assured

Section 5: Extract data from Json response using JSONPath

Section 6: Extract data from xml response using XML Path

Section 7: Assertions in REST Assured using Hamcrest Library

Section 8: JSONAssert Library for asserting on complete JSON Responses

Section 9: Root Path in REST Assured

Section 10: Request Specification and Response Specification

Section 11: Filters in Rest-Assured

Section 12: File Downloads in REST Assured

Section 13: Basic Authentication with File Uploads using REST Assured

Section 14: Checking Response Time

Section 15: Sending SOAP Requests in Rest-Assured

Section 16: Requests via ProxyServer

Section 17: Authentication (OAuth2.0) with Paypal Payment Web Service (SANDBOX ENVIRONMENT)

Section 18: OAuth1.0 Authentication with Twitter API

Section 19: Form Authentication (Spring Security) in Rest-Assured

Section 20: Parsing HTML Data with JSOUP Library

Section 21: Form Authentication with CSRF Token in Rest-Assured

Section 22: Yahoo Currency API Vidoes (Obsolete)

Course Description

"Join the most popular Rest-Assured Course"- Learn every topic in Rest-Assured with Real-World Examples!!

Requirements

  • This course requires that the user has some basic programming knowledge in Java
  • Basic understanding of RESTful Services

Description

**THE ONLY COURSE WHICH COVERS REST-ASSURED IN DETAIL WITH REAL WORLD. EXAMPLES**

**THE ONLY COURSE WHERE YOUR QUESTIONS ARE ANSWERED IN DETAIL WITH 24HOURS**

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 is 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 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 multipart method
  • Work with real world-examples such as Walmart Search APIPayPal 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 which 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 

Additional topics will be added to the course in the following weeks.

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!

Who this course is for:

  • QA Engineers who want to learn how to write API automation
  • Automation Engineers, SDET's who want to learn an additional Java testing library for RESTful APIs
  • Software developers who would like to learn the art of API test automation using REST Assured