Course Overview: Mastering Back-End Testing and API Automation
In today's digital landscape, web applications heavily rely on seamless communication through web services. The dominant architecture, Representational State Transfer (REST), has become a cornerstone in modern web service development. This course aims to transform you into a proficient back-end testing expert, equipping you with the skills to navigate the evolving IT industry landscape.
Module 1: Introduction to API Testing
Client-Server Architecture
Course Overview: Mastering Back-End Testing and API Automation
In today's digital landscape, web applications heavily rely on seamless communication through web services. The dominant architecture, Representational State Transfer (REST), has become a cornerstone in modern web service development. This course aims to transform you into a proficient back-end testing expert, equipping you with the skills to navigate the evolving IT industry landscape.
Module 1: Introduction to API Testing
Client-Server Architecture
Understanding the Basic Architecture
Roles of Client and Server
API Basics
What is an API?
Why API Testing is Needed?
Types of APIs
SOAP vs. REST
Understanding Web Services
API vs. Web Service
HTTPS
HTTP Status Codes
Module 2: API Testing with Postman
Postman Introduction
Postman Installation
Creating Workspace
Creating Collections
Creating HTTP Requests (
Understanding JSON Object & JSON Array
JSON Path
Validating Responses (Chai Assertions)
Testing Status Codes
Testing Headers
Testing Cookies
Testing Response Time
Testing Response Body
Scripts in Postman
Pre-request Scripts
Test Scripts (Post Response Scripts)
JSON Schema Validation
Working with Variables
Global Variables
Collection Variables
Environment Variables
Local Variables
Data Variables
Set, Get & Unset Variables with Scripts
Postman Console
Chaining Requests
Customize Collection Run Order(Work flow)
Working with Data Variables/External Variables
Data-Driven Testing
Using JSON Files
Using CSV Files
File Upload & Download API Requests
Authorization Types
Basic Authorization
Digest Authorization
API Key
Bearer Token
OAuth2
Project Work -Online Store
API testing Reference documents
Writing API Test Cases
Creating Collections & Adding Requests
Adding Scripts (Chai Assertions)
Running Collections Manually
Scheduling Runs
Newman CLI
Install Newman
Install newman-reporter-html for Reporting
Exporting and Sharing Collections from Postman
Run Collections Locally via Command Prompt
Push Collections to GitHub and Run in Jenkins
Postman CLI
Install Postman CLI
Use Postman CLI to Run a Collection from Command Line
Set Up GitHub Actions with Postman CLI to Run Collections in CI/CD Pipeline
Documenting APIs
Create Public Documentation
Write Markdown Descriptions at Request, Folder, or Collection Level
Embed "Run in Postman" Button with Documentation
Preview Docs Before Publishing
Publish to API Network
Swagger
cURL
Mocking APIs
Set Up Mock Servers
Create Dynamic Mock Responses
Performance Testing
Run a performance test
Types of Load profiles in Postman
View performance test metrics
Inject data into virtual users
GraphQL
What is GraphQL?
GraphQL vs REST
GraphQL Core Concepts
GraphQL Queries - Fetching data
GraphQL Mutations - Writing data
GraphQL Subscriptions - Realtime updates
Create GraphQL requests in Postman
Postman GraphQL interface
Module 3: API Testing with RestAssured
Introduction to RestAssured
Overview and Importance
Setting up a RestAssured Maven Project
Install JDK & Eclipse IDE
Creating maven Project & Add dependencies
Configuring IDE and TestNG
Writing API Automation Scripts
HTTP Methods:json library
Using POJO Class
Using External JSON File
Handling Parameters
Path Parameters
Query Parameters
Headers and Cookies
Authentication Types
Basic Authentication
Digest Authentication
Preemptive Authentication
OAuth 1 and OAuth 2
File Upload & Download (Form parameters)
Parsing Response Body
Parsing JSON and XML Response body
JSON Schema and XML Schema/XSD Validations
Advanced RestAssured Features
API Chaining
Serialization and Deserialization
Request and Response Specification Builders
Root Path
Logging
RestAssured with GraphQL
Handling GraphQL Queries
Handling GraphQL Mutations
Framework Development
Building a RestAssured Framework
Creating Maven Project & Folder Structure
API End Point(Routes)
Understanding Schemas & Models
Creating of POJO Classes
Creating Payloads
Creating Configuration & Test Data files
Creating API Tests and add validations
Generating Extent & Allure Reports
Running Tests using TestNG(Serial & Parallel mode)
CI & CD
Working with Git & Github
Integration with Jenkins
Bonus Lectures:
API Testing with SoapUI & Ready API
File Upload (multipart/form-data)
Authorizations
Writing API test cases.
Reference Documents.
What is Client & server?
Client-server architecture
What is an API?
What is API Testing? Why it is needed?
Types of an API - SOAP & Rest
API Vs Webservice
Rest API methods
http Vs https
Postman Introduction
Postman installation
Creating Workspace
Creating Collection
Creating Requests - Get, Post, Put & Delete
Saving & Editing Requests
Operations on Collections
Things to be validated in response
Status codes
Cookies & Headers
Response body
Creating Dummy API’s for API Testing
JavaScript Object Notation (JSON)
Validating Response by adding Tests
Testing status codes
Testing headers
Testing cookies
Testing response time
Testing response body
Working with Variables
Scripts in Postman
Pre-request Scripts
Test Scripts & Validations
Working with Variables
Get and Set Variables with Scripts
Chaining Requests
Data Driven Testing using JSON & CSV files
Install newman
Install newman-reporter-html for reporting
Exporting and Sharing Collection from postman
Run collection in command prompt locally
Push collection to GitHub then run it in Jenkins
Install Postman CLI
Use Postman CLI to run a collection from the command line
Postman CLI to run collections on the CI/CD pipeline
Swagger
cURL
Mock Server
Performance Testing
Introduction to RestAssured
Setting RestAssured Maven Project
Including The Required REST Assured and Other Dependencies
Static imports
Writing first REST Assured API Automation Script
HTTP Methods
GET
Post
Put
Delete
Authentications Types
Parsing Data
Parsing JSON response
API Chaining
Framework part 2
Framework part 3
Git
Github
Jenkins
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.