Introduction to API and Definition π‘
Overview of API concepts and definitions.
Website Architectures π
3-Tier Website vs. Website with Services (n-tier)
Understand the differences between traditional websites and service-oriented designs.
Service-Oriented Architecture (SOA) ποΈ
Fundamentals and key concepts of SOA.
Services Development & Testing, Registration, and Utilization π§
Types of Services:
RESTful Services π
Microservices π
Development Technologies:
Technologies used in services/API development.
HTTP Fundamentals π
HTTP, HTTP Methods, HTTP Response Codes, HTTPS (HTTP + SSL) π
Webserver vs. Application Server π₯οΈ vs. π’
DNS & Proxy π
DNS: Definition and its uses.
Proxy: How proxies work and why theyβre used.
Need for API Testing π
Emphasizing the agile process and the necessity of API testing.
Service-Oriented Architecture Terminology π
Key terms and definitions used in SOA.
Test Pyramid for API Testing πΊ
HTTP Request Algorithm π€
HTTP Response Algorithm (Case Study & Notes) π₯
Create a REST Project π
Select HTTP Method π οΈ
Add Parameters β
Types of API Parameters π
Template/Path Parameters π£οΈ
Query Parameters π
Matrix Parameters π’
Request Body Parameters ποΈ
Request Header Parameters π
Authentication Options:
Way-1: Credentials Authentication π
Way-2: Bearer Authorization/HMAC Authorization π
Way-3: API Keys ποΈ
Way-4: OAuth 2.0 π
Plain Parameters
Resource Naming using practical programs (SOAP UI Tool) π§©
Convert Request to Test Case (Navigation) π§
Add Assertions βοΈ
Expressions vs. Tools vs. Languages βοΈ
Regular Expressions π
XPath Expressions π
XQuery Expressions π
JSON with JSONPath ποΈ
WADL and WSDL Files π
Run Test Case to Submit Request π
Analyze Response and Test Results π
RestAssured Getting Started π€
Why Static Imports? π§
Method Chaining Concept β°
Automate GET Request:
Assert Status Code π€β
Assert Response Body π€π
Extract Response π€π₯
Extract Single Field π
Hamcrest Assertions:
What is Hamcrest and why is it popular? π
Executing Hamcrest Collection Matchers π
RestAssured β Logging π
Request & Response Logging
Log on Error/Validation Failure β οΈ
Log Blacklist Headers π«
RestAssured Handling Headers π·οΈ
What are Headers? βΉοΈ
Setting Up a Mock Environment for Headers π οΈ
Handling Multiple Headers:
Using Headers directly, via Map, and Multi-Value Headers β
RestAssured β Request Specification π
RestAssured β Response Specification π
RestAssured β Automate CRUD Operations π
POST, PUT, GET, DELETE requests.
RestAssured β Sending Request Payloads π
Multiple ways to send payloads.
RestAssured β Send Complex JSON Requests ποΈ
RestAssured β Handling Request Parameters π
RestAssured β File Upload & Download π€π₯
RestAssured β Filters π
Serialization & De-serialization π
Jackson Annotations ποΈ
Complex POJO π§©
Authentication and Authorization π
Introduction to Microservices and Definition π
Difference between WebServices and Microservices βοΈ
How Microservices Differ from WebServices π
Architecture of Microservices ποΈ
Microservices Characteristics π
Key Challenges of Microservices β οΈ
Test Pyramid for Microservices πΊ
Wiremock and Its Configuration π
Developing Mock Services π οΈ
Isolation Testing π¬
Component Testing π§©
CDCT (Component Driven and Contract Testing) π