
Explore soap web services and rest api concepts, comparing xml-based soap requests with rest services, and learn how wsdl describes soap apis for Java automation.
Set up a Maven-based Java project for rest API testing by configuring pom.xml dependencies for Rest Assured, JSON, and Jackson, and learning to download and manage jars from Maven repository.
Install and configure a local API server for testing web services, then launch it to test endpoints on localhost:3000, using get, post, update, and delete operations.
Automate post requests with a string body and content-type, send updates to a rest api, and verify results using subsequent get requests and json data in java.
Learn to perform a post request by sending a Java object as the request body, using getters and setters for id, title, and author, with content-type JSON and object-based payload.
Explore how to use put requests to update existing entries in a rest API, and how post requests create new entries in the database, using json payloads and content-type headers.
Explore patch requests for updating existing entries by sending only the changed fields, avoid null values, and compare with post requests that create or replace entire records, using json content-type.
Learn to post arrays of objects in a java rest api, building address and post data classes, sending json payloads with application/json, and testing responses as data grows.
Create a relational database table for REST API (testing) in Java, defining an employee table with id, first name, last name, and country, using create table in a chosen database.
Explore how to delete a table by issuing drop table employee. The employee table will be deleted within the database.
Learn how to apply the where clause with and to filter records by country is India and employee ID equals 1205, requiring both conditions to be true.
learn how to sort data with order by, applying ascending or descending on a column such as employee id or first name, with default ascending behavior.
API testing is integration testing of API's which checks the functionality , performance & security aspects of API's.
As GUI test is difficult to maintain and requires a considerable amount of period, API has evolved as primary testing of application logic.
API to be tested are those which are developed by development team or third party API's which we would consume in our project.
API testing involves:
Popular API which are used are REST implement in JSON format, which we will be looking during the course. Rest has become most popular because it is light and easy to maintain.
Rest-assured is library developed by Jaway which is best open source library specially designed to automated Rest API. It also supports XML and JSON Request/Responses.
No need of any tool when you need to automate API, simple coding skills will let you perfect automation of API, will be taught during the course.
Advantage