
Master the basics of Rest Assured using given/when/then syntax, set base URL and endpoints, and build get and post requests with headers, params, and body, plus response validation.
Set up a maven-based Rest Assured framework project by adding TestNG, Rest Assured, JsonPath, Gson, and Extent Reports dependencies, and configure developer metadata and version properties.
Master automating http get requests with rest assured by defining base uri, passing query parameters, and asserting status 200 while inspecting response, headers, and cookies.
Learn how to automate an http post request using rest assured and testng, including setting the base uri, building a dynamic body, and asserting a 201 status.
Lecture 2 and lecture 5 both are same.
Configure and manage environment-specific property files for rest assured api tests, defining server url, port, and credentials for dev, staging, and qa, and learn to consume these configs in go.
Develop a static utility to read property file data into a map by environment, using system.get properties and a vm argument env to select dev, qa, or staging values.
Create a static final api-path class with get, post, and delete endpoints, using a base url and environment properties for path parameters and dynamic user ids.
Define and manage headers for API calls by creating a header configs class with default headers and token-based sets for get and post requests.
Code is available here: https://github.com/Fundootesters/RestAssuredFramework/blob/master/src/main/java/utils/ExtentReportListner.java
Test rest assured framework utilities by validating environment data from property files, header configurations, and API path while integrating extent report listener with TestNG to generate reports.
Automate a get request with Rest Assured by setting up a JSON server and a base URL, then validate status code, response body, and response time.
Learn to integrate a get request with the rest assured framework, fetch the url from environment properties, and assert json array and json object responses using gson and utilities.
Learn to validate http post requests by generating on-the-fly data with a Java util of static random number and string methods, and verify json responses, status, and timing.
Develop a Rest Assured API automation framework by building a verification utility that validates status codes, response keys, and response times with static methods, try-catch blocks, and extent report logging.
Explore serialization in Rest Assured by creating a POJO with private fields, getters and setters, and a toString, then send it as a JSON body in API calls.
Hola Testers,
I have explained complex serialization along with de-serialization POJO. Please let me know in case you need extra separate lecture for that or any doubt in understanding.
-Nishant
Demonstrate encoding and decoding of user credentials with base64 in a Rest Assured workflow, using get encoder, converting to bytes, and returning a credentials pojo via tests.
Learn to implement hmac sha256 authentication in Java by converting a secret and message into a base64-encoded mac value using mac.getInstance and secret key spec.
Develop skills to parse dynamic and nested json using recursive techniques, traversing json objects and arrays, handling missing keys, and extracting values across complex hierarchies.
Learn to parse dynamic and nested json with a recursive approach, handling arrays and objects, validating attributes like id, name, and category.
Learn how constructors in Java initialize objects using a wallet app example, contrasting default and parameterized constructors, and implementing getters, setters, and basic object creation with new.
Learn the basics of curl, install on Mac, Windows, Linux, run curl commands in the terminal, fetch API responses, and use flags for headers, data, and request methods.
REST Assured is a powerful set of APIs to automate Restful APIs/Restful Webservices (just like Selenium WebDriver for Web Application). Almost all web applications use Rest APIs to communicate with back-end and it has gained a lot of popularity in the modern-day application architecture.
It is very important for QA/Automation engineers to understand how to Automate Rest API tests. Automating Rest APIs tests is very crucial for projects because Rest API tests are quick to run and more stable unlike web automation.
90% of the IT industry is now moving towards Rest API Automation ---- So What are you waiting for ???
********************* WHAT MAKES THIS COURSE BEST? *****************************
As per our study, Any one can learn Rest assured automation from YouTube Channels or Online blogs, but for them it will be a challenge to clear interview or real time work done.
I assure that any one can start working on real time project after completing this course.
Note: I don't want to make this course lengthy with adding few hours of Java, TestNg, Git or other stuff as it's framework specific.
At the end of this course you can pick any REST API over Net and can automate it comfortably with all necessary validations
Happy Testing and Wish you Good luck!!!!!!!
Team
Fun Doo Testers