
Learn Rest Assured REST API test automation from zero knowledge to framework development in Java. Build reusable methods, handle authorization, and generate reports in a DevOps friendly, team-oriented workflow.
Define application programming interface (api) as a bridge enabling data exchange between different applications through reusable functions, with the Excel API as a practical example for reading and writing content.
Explore how web services enable communication between applications and databases via a web server api, using soap and rest to connect providers and consumers.
Explore how a web service on a web server powers a website by exchanging requests and responses to check room availability for a location and dates.
Explore how a website accesses a database via a web service, performing add, get, update, and delete actions through requests and responses.
Explore the key differences between APIs and web services, including offline versus online, language-specific versus platform-independent, and invocation by function versus request across a client-server network.
Learn how to set up a local web service testing environment with Java, MySQL, and Coach DB, and explore free tools and groovy scripting for REST API automation.
Introduce rest as a representational state transfer protocol, contrast it with soap, and explain resources, stateless transactions, and four http methods (post, put, get, delete) for client-server interactions.
Explore JSON (JavaScript object notation) as a lightweight, human- and machine-readable data interchange format built from key–value pairs, objects, and arrays for client–server requests.
Set up the rest api test automation environment by installing java runtime, SoapUI, and MySQL, so a client-server web service can process requests, store data, and respond.
Install and configure MySQL server and workbench, create database myzone with customer, orders, and products tables, and prepare a Java web service using the MySQL connector.
Learn to run a rest api webservice locally by installing java, setting up the jar, preparing MySQL tables, and launching the executable to test a learning-focused rest assured workflow.
Install the SoapUI free version from the web, select the appropriate Windows installer (64 or 32 bit), run the installer, launch SoapUI, and begin exploring its features.
Explore how to test REST APIs by configuring endpoints, selecting methods (get, post, put, delete, patch), composing JSON request bodies, sending requests, and validating responses and database updates.
Understand the end point as the physical address or host name of a web service, including ip and port, in Rest Assured api test automation, noting environment-specific endpoints.
Explore how resources in a rest api map to collection and individual resources, using path segments and braces to identify unique customers, orders, and products.
Explore how http status codes in rest api signal transaction outcomes, including 200 success and 204 no content, 400 bad request. Also cover authentication and authorization impacts.
Learn to use the get method with query parameters like first name and state to filter data, align requests with the api documentation, and interpret 200, 400, and 500 responses.
Explore get requests with path parameters, understand the difference between path and query parameters, and build and test /customer resources in a rest assured api framework.
Discover how the put method updates data by sending a request body in the same editor as get. Observe a city change from Berlin to Frankfurt and verify the update.
Master delete requests in a REST API test, verify resource existence before deletion, and handle 204 no content for success and 404 not found for missing resources.
Explore adding an order resource using Rest Assured: create a new customer, post ADR data, retrieve all orders, update status with put, then delete, validating behavior against API documentation.
Explore managing product resources with collection get and post for a specific order and customer, then use single resource get, put, and delete to update or delete a product.
Explore Java's platform independence and object oriented design, its cross platform execution on Mac, Windows, and Linux, and a preview of distributed applications and multi-threading.
Install the Java development kit and Java runtime environment, explain the difference between JDK and JRE, download the 64-bit Windows version, and verify with java -version.
Learn how the Java Virtual Machine processes bytecode from .class files, enabling Java programs to run on different platforms with write-once, run-anywhere portability.
Learn the differences between the Java Virtual Machine, Java Runtime Environment, and Java Development Kit, including what each contains and their roles in running and developing Java applications.
Write your first Java program by creating a file named MyProgram.java containing a public class MyProgram and printing with System.out.println. Compile with javac and run with java MyProgram.
Discover how to download, unzip, and launch the Eclipse IDE, set up a Java project, and run a program as a Java application to print output in the Eclipse console.
Demonstrate keywords in Java within the Eclipse environment, where reserved words have predefined meanings, and show that comments marked with // are ignored, with semicolons ending each line.
Understand the concept of variables with a bag analogy, where a variable holds changing data while the bag stays the same, and see how data types define stored values.
Explore data types in Java by using variables like baggy and year. See how integers, characters, and decimals are represented and printed to the console.
This lecture demonstrates core Java data types—integers, floats, characters, booleans, and strings—within a new class and main method, printing values to the console to illustrate syntax and usage.
Explore how the string data type is treated as a keyword and how the plus operator (concatenation operator) concatenates strings, while mixing with numbers converts them to text.
Explore arithmetic operators by creating a simple program that adds and multiplies two integers, prints results, and explains concatenation and the sum and product outputs.
Learn how the assignment operator works in Java by declaring and initializing variables, then use short assignment operators to add or multiply into num2, and cover subtraction and division.
Explore the increment and decrement operators in Java, showing how num increases or decreases by one using num++, num--, and related expressions.
Explore Java logical operators (and, or, not) using boolean variables to demonstrate true and false outcomes, building practical conditional logic for Rest Assured API test automation.
Explore how conditional statements and relational operators drive control flow with if-else blocks to check whether a number is greater than zero and print whether it is positive or negative.
Demonstrates nested if statements by placing an if inside another if, showing parent and nested blocks, conditional evaluation, and how false conditions skip inner blocks while true conditions execute them.
Explore how if-else-if statements evaluate multiple conditions and execute corresponding blocks. Learn to structure if, else, and else-if to control flow with true/false conditions.
Master switch-case control flow to handle multiple choices using cases and a default, learn how break prevents fall-through and how strings or numbers map to actions.
Develop a program that counts digits in a number using if-else and relational operators, identifying single (0–9), double (10–99), triple (100–999), and four-digit numbers.
Master the for loop in java by learning initialization, condition, and increment, and see how repeated execution prints values from 0 to 9.
Explore the while loop syntax, including initialization before the loop, condition checks, and in-loop increments; compare it with the for loop and avoid infinite loops.
Explore the do-while loop, its execution before condition checking, and compare it to while loops. Learn initialization, printing values, and how pre- versus post-increment affects output, including infinite loop considerations.
Learn how the continue keyword skips a loop iteration, for example printing 0–10 while omitting 4, and practice with while and do-while loops.
Explore how the break keyword exits a loop and stops further iterations, as shown when printing 0 to 5; compare with continue, which only skips an iteration.
Demonstrate nested loops by embedding one for loop inside another, illustrating outer and inner loop execution, variable printing, and the behavior of break inside the inner loop.
Define objects and classes in object oriented programming and examine how objects in Java have a name, state, and behavior, illustrated with everyday examples like humans, lamps, and cars.
Define a class as a template that combines an object's state and behavior, demonstrated by a lamp object with on/off state and switch methods in Java.
Explore how to declare and refactor code with classes and methods, pass parameters, and return values to perform sum and product calculations in a Java object-oriented context.
Apply object oriented programming by modeling real life scenarios with Java classes and objects, using a registration form template and setters to populate student records.
Illustrates the constructor concept by using a method named after class with no return type. Shows creating objects with new to invoke the constructor and set name, age, and gender.
Learn how static variables differ from instance variables in java, how static members are shared across all instances, and how to access and modify them via the class or objects.
Explore static methods, instance methods, and constructors, showing how static variables are shared across all instances and can be accessed without objects, while non-static country variables stay per instance.
Declare and instantiate an array list, import java.util.ArrayList, and add items such as 33, 67, 75, and 95 to illustrate zero-based indexing and size tracking.
Master array list operations in Java, including add, get, and remove by index, determine size, and iterate with for loops to print items.
Explore arrays vs array lists in Rest Assured REST API test automation framework development, highlighting fixed size versus dynamic growth, index usage, and how missing values trigger exceptions.
Explore how maps use unique keys to store values, use put and get to manage entries, and print all key-value pairs in Java.
Learn how Java packages organize classes and interfaces, use import versus fully qualified names, and navigate package hierarchy to access library methods for building a REST API test framework.
Explore the default access modifier in Java, showing how package scope restricts class variables and methods, and how members are accessed within the same package.
Private access modifier limits scope to the class, making data members and methods accessible only within; default limits scope to the package, and a private constructor blocks external object creation.
Learn inheritance in Java, a core object oriented programming feature that enables a subclass to reuse a parent’s data and methods via extends.
Explore protected access modifiers and how they differ from default and public access, showing access by the same package and by subclasses across packages.
Explore tadic polymorphism and runtime polymorphism in object oriented programming, with tadic polymorphism using method overloading and runtime polymorphism using method overriding for interview prep.
Explore method overloading by creating multiple methods with the same name but different numbers and types of parameters, and learn to call them to print results to the console.
Explore method overriding by extending a parent class and providing a subclass-specific implementation while preserving the method signature, enabling a subclass to tailor behavior without altering the parent.
Explore how the this keyword differentiates instance variables from parameters, enables constructor chaining with this(...), and connects parameter-based and no-argument constructors to supply defaults.
Discover how the final keyword governs variables, methods, and classes: final variables cannot be reassigned, final methods cannot be overridden, and final classes cannot be extended.
Explore encapsulation as binding data and methods into a single unit within a class, using private data and set and get methods to hide data and control access.
Explore abstraction in java through abstract classes and methods, with dog and cat implementing sound differently. Understand why abstract classes cannot be instantiated and how subclasses must implement abstract methods.
Learn how interfaces declare abstract methods with no bodies and expose public static final fields. Implementing classes use the implements keyword and override methods, while final fields stay unchanged.
Understand how Java exceptions disrupt flow, differentiate them from compilation errors, and identify checked versus unchecked exceptions with examples like null pointer, array index out of bounds, and arithmetic exception.
Learn how to handle exceptions in Java using try and catch blocks to prevent abrupt program termination, display errors, and continue execution with a safe flow.
Learn how to use multiple catch blocks to handle specific exceptions such as array index out of bounds and null pointer exceptions, and why a generic exception should be last.
Explore how the finally block in Java guarantees execution of code regardless of exceptions, using try-catch with array index out of bounds, and ensuring files are closed.
Learn file input and output operations in Java by creating, writing, reading, modifying, and deleting text and Microsoft Excel files, using the file class and absolute paths, with exception handling.
Learn to read a text file in Java by creating a File and FileReader, buffering with BufferedReader, and reading lines until null, with try-catch for file not found exceptions.
Append data to an existing file using a file writer in append mode with a buffered writer, then close streams to confirm data appended successfully.
Read data from a Microsoft Excel file in Java using the Apache POI library, including downloading and configuring the jar, importing classes, and iterating rows and cells to print values.
Learn how to write data to an Excel file by creating a row and a cell, setting the value, and saving with a file output stream.
Choose Eclipse version 28.0.9 to ensure Rest Assured compatibility. Download the Java EE developers 64-bit package from the resource section and verify the version under Help about Eclipse ID.
Learn rest-assured, a Java library for REST API testing with no user interface. Install Java and add the rest-assured dependency (groupId io.rest-assured, artifactId rest-assured, version 3.3.0) to your project.
Build a get request using Rest Assured by composing given/when/then blocks, supplying the endpoint, resource, and path parameter, and logging both the request and response for validation.
Learn to send a get request with query parameters using rest assured, log requests, validate responses, and explore adding path parameters and a delete method.
Learn to build a post request in rest assured by sending a json payload with a file object or string, and compare post and put semantics with path parameters.
Master JSON parsing by extracting values with a JSON path, using get on keys from the response body, and accessing status codes and emails within the response object.
Automate a rest assured test sequence: create a customer via post, verify 201, extract the customer id, retrieve with get by path parameter, then delete with delete.
Learn advanced json path parsing to navigate nested json, use dot notation and zero-based indexing, and filter with find all to extract book titles by price and category.
Learn to parse json with Jayway JsonPath in Rest Assured, import static JsonPath, and extract items, filters, and fields like isbn, price, and title using expressive path syntax.
Learn to perform json path assertions in rest assured by loading a design document from a text file, importing json path tools, and validating existence, equality, and contains checks.
Learn to perform response assertions with Rest Assured by extracting the response body as a string and asserting json path city equals London, using left-to-right parameter evaluation.
Configure Rest Assured to log requests and responses to an external file, using a log config and print stream, with dividers and assertion failure handling for file output.
Set up TestNG in Eclipse using Maven dependencies to run tests without a main method. Apply @Test, @BeforeMethod, and @AfterMethod to structure REST API tests, token generation, and basic validations.
Learn how authorization works in rest api test automation: obtain a token from the token resource and use it in the authorization header as a bearer token.
Learn data driven testing with rest assured by driving tests through Excel data using a data provider and reading the spreadsheet to supply multiple customer data.
Learn how to implement request body parameterization using data-driven tests by replacing placeholders with spreadsheet data, building dynamic JSON bodies, and validating mapping between keys and values.
Define the framework as an organized set of rules that executes test cases, and outline its two parts—the framework itself and test cases—with data sourcing, logging, and reporting.
Develop core HTTP methods for the Rest Assured REST API test automation framework by implementing post, get, put, delete, and update operations with path and query parameters and request bodies.
Implement assertion and verification logic in the Rest Assured framework by adding static methods for status code verification, json path existence, and json path content checks across projects.
Implement reusable Java test steps for a Rest Assured framework by creating, retrieving, and deleting customers with verification, data extraction, and modular resource organization.
Develop two test cases from reusable test steps, building a regression test case with a data source and scenarios like create, get, and delete customer using Java methods.
Execute test cases at the framework level by setting a base endpoint with before class, and run two TestNG tests in Eclipse after converting Excel tests; verify status codes.
Explain how automated tests run in the Rest Assured framework by extending a base test, using before class and before method hooks, and driving execution from an Excel-driven suite.
Implement TestNG listeners to capture dynamic test case names and drive framework reporting, by creating a TestNG listener class, implementing ITestListener, and handling onTestStart, onTestSuccess, onTestFailure, onTestSkipped, onStart, and onFinish.
Implement per-test request and response logging in the Rest Assured rest api framework by creating dynamic log files, a shared print stream, and capturing request, response, and assertion failures.
Implement authorization logic in the framework by adding a token generation method and injecting tokens into requests before each test case to prevent expiry.
Implement test result reporting with Extent Reports in a rest-assured API framework by configuring ExtentReports and ExtentTest, attaching reporters, and logging pass or fail with colors.
Add a log hyperlink to extent reports by implementing a log link class with the markup interface, returning a hyperlink to the test log opened in a new tab.
Explore devops friendly execution of automated tests using Maven, including downloading and configuring Maven, setting environment variables, and adding the Surefire and compiler plugins for command-line test execution.
Learn how to pass parameters from the command prompt into the Rest Assured test automation framework, configure environment variables, and run tests across staging, test, or smoke scenarios.
Complete A to Z course for learning the REST API Web-Service Automation testing using
Soap UI & Rest-Assured Open Source Java libraries from basics to advanced concepts.
**ONLY COURSE IN UDEMY PROVIDES OFFLINE REST API WEB-SERVICE CONNECTED TO DATABASE FOR LEARNING PURPOSE. HELPS IN BETTER UNDERSTANDING OF API & DB CONNECTIVITY
**Hand Written explanation for best understanding.
About me : I have been working in IT-Software Testing industry from last 15 years and i have put all those experience and industry standard knowledge into this course. The course filled with industry standard testing approach, implementation and examples.
Welcome to REST API Web-Service Testing using SOAP UI tutorial.
Currently API is a booming technology it exists everywhere like Social media, Mobile platform, cloud computing etc,.
Now its a good opportunity to make promising career in API testing.
This course below topics and more
What are the API & Webservices
How to Test the Webservices using Soap UI
What is Rest API
JSON
Request-Response
Soap UI tool
Path parameter
Query Paramter
HTTP status codes
JAVA
Understand how java program is executed
JVM, JDK , JRE
Eclipse IDE
Keywords
variables
Data Types
String data type
Arithmetic operators
Assignment operators
Increment operators
Logical operators
Conditional statements
switch case
Loops in java
continue, break statements
OOPS concepts in java
Class
Methods
Constructor
static variables
static methods
Java collections
array list
array
HashMap
Access Modifiers
package
Inheritance
Polymorphism
Method overloading
Method overriding
this keyword
final keyword
Encapsulation
abstract class
abstract method
interface
regular expression
exception handling
Input/Output operations
Read/Write Microsoft Excel File
Rest-Assured concepts
HTTP requests in Rest Assured
Json parsing
Json path
Jayway Jsonpath
Jsonpath Assertion
Response Assertion
Request-Response Logging
Authorization implementation
Data Driven testing
Request body parameterize
This comprehensive course cover.
REST API web-service testing using Soap UI and Rest-Assured
Core Java from basics
The SPECIAL thing about this course is, you will get industry standard downloadable REST API web-service connected to Mysql database which can be executed on your own system without need of internet. You will know how API web-service interacts with back-end database.
You don't need to depend on free online API Web services available on internet for learning purpose.
This course is for someone who want make good career in API testing.
You don't need to have previous knowledge on WebService as course cover from basics.
I value your time, So course is medium paced and on-to the point without much dragging to avoid boredom.
By the end of this course:
You will know how to test REST API web-service
You will be having REST API web-service knowledge equivalent to industry standard experienced tester.
Take a look at the course description to get detailed information about course coverage.
Enroll now and will see you inside
Happy Learning
Subhash Chandra