API Course Content
API Course Content
REST API
AUTOMATION
By
Muru & Anish
## API Testing Basics
1. **Client-Server Architecture**
3. **What is an API?**
7. **HTTP Structure**
- Learn about request methods (GET, POST, PUT, DELETE) and response codes.
8. **XML and JSON Overview**
- Compare and contrast XML (Extensible Markup Language) and JSON (JavaScript Object Notation).
- Define Uniform Resource Identifier (URI) and Uniform Resource Locator (URL).
- Introduce popular tools for API testing, such as Postman and Rest Assured.
- Learn about common HTTP status codes (e.g., 200 OK, 404 Not Found).
## Postman Tool
1. **Introduction to Postman**
5. **Authorization in Postman**
## REST Assured
- Key concepts: HTTP methods (GET, POST, PUT, DELETE), status codes, request and response formats (JSON, XML),
URI structure, etc.
3. **Introduction to Rest Assured**
- Basic Authentication
- OAuth Authentication
- Handling Cookies
- Handling Sessions
- Setting up Proxy
- Generating reports
- What is BDD?
- Scenario outlines.
- Background, Tags.
13. **Test Automation Best Practices**
- Generating reports.
- Integrating BDD framework with Maven for dependency management and test execution.
- Summary of REST Assured, BDD, and integration with Maven and Jenkins.