API Testing

 

This course is designed to provide hands-on experience in API Testing using Postman and Newman, covering fundamental concepts, real-time projects, and industry best practices.

·       Module 1: Introduction to API Testing

✅ What is API?
✅ API vs. Web Services
✅ SOAP vs. REST APIs
✅ Importance of API Testing
✅ Types of API Testing
✅ Understanding HTTP Methods (GET, POST, PUT, DELETE, PATCH)
✅ Understanding Status Codes (1xx, 2xx, 3xx, 4xx, 5xx)
✅ Request & Response Structure (Headers, Body, Parameters)


Module 2: Getting Started with Postman

✅ Introduction to Postman & Its Features
✅ Installing and Setting Up Postman
✅ Creating and Sending API Requests
✅ Understanding Postman Interface
✅ Managing Workspaces & Collections
✅ Importing & Exporting APIs
✅ Testing Public APIs with Postman


Module 3: API Testing with Postman

Working with Different Request Types

  • GET, POST, PUT, DELETE, PATCH
Query Parameters vs. Path Parameters
Handling API Authentication
  • Basic Authentication
  • OAuth 2.0
  • API Key Authentication
  • Bearer Token Authentication

Working with Headers & Cookies
Using Environment Variables in Postman
Handling Query & Path Parameters
Validating API Responses (Status Codes, Response Body, Headers)


Module 4: Postman Scripting & Automation

✅ Introduction to Postman Scripts
✅ Writing Tests in Postman (Using JavaScript)
✅ Pre-Request Scripts vs. Test Scripts
✅ Automating API Test Cases in Postman
✅ Validating JSON Responses Using Postman Assertions
✅ Chaining Requests & Dynamic Data Passing
✅ Handling Response Time & Performance Validation


Module 5: Data-Driven API Testing

✅ Introduction to Data-Driven Testing
✅ Importing Data from CSV & JSON Files
✅ Running API Tests with Multiple Data Inputs
✅ Handling Dynamic Variables in Postman
✅ Using Test Scripts for Data-Driven Testing


Module 6: Working with Collections in Postman

✅ Creating & Managing Collections
✅ Adding Requests to Collections
✅ Using Collection Variables
✅ Sharing & Exporting Collections
✅ Running Collection in Iteration Mode


Module 7: API Test Execution using Newman

✅ Introduction to Newman (Postman CLI)
✅ Installing Newman & Running Collections via CLI
✅ Configuring Environment Variables in Newman
✅ Running Tests with Different Data Sets
✅ Generating Reports from Newman
✅ Integrating Newman with CI/CD Pipelines


Module 8: API Performance Testing with Postman

✅ Understanding API Response Time
✅ Measuring API Performance with Postman
✅ Validating Response Time with Postman Tests
✅ Handling Concurrent API Requests


Module 9: API Security Testing

✅ Common API Security Issues
✅ Testing Authentication & Authorization
✅ Testing SQL Injection in APIs
✅ Testing Cross-Site Scripting (XSS) in APIs
✅ API Rate Limiting & Throttling Testing


Module 10: Real-Time API Testing Project

✅ Working with a Real-World API Project
✅ End-to-End API Testing Scenarios
✅ Writing & Executing Automated API Tests
✅ Generating API Test Reports
✅ Debugging & Fixing API Issues


Module 11: Interview Preparation & Career Guidance

Understanding API Testing Job Roles
50+ Interview Questions – Mock Interviews
Best Practices for API Testing in the Industry
Training Certificate – ISO 9001 Certified


Course Duration: 15 Hrs.
Course Fee: ₹7,500