REST API Training

Course Extract | |
---|---|
Level | Beginner / Intermediate |
Length | 4 Weekends |
Projects | 1 (Fully functional) |
Pre-requisites | None |
Batch size | 10 - 15 |
Job preparation | Yes |
Certificate | Yes |
Start date | December 19, 2020 |
REST API Automation
DAY 1
Get Started with Web Services
Postman
– Components
– Authorization types and techniques
– Requests (GET, POST, DELETE, PUT, PATCH)
– Parameterization
- Headers, Cookies
Postman
– Components
– Authorization types and techniques
– Requests (GET, POST, DELETE, PUT, PATCH)
– Parameterization
- Headers, Cookies
Request Sections
- URL
- Authorization
- Headers
- Cookies
- Body
- Pre-Request
- Post-Request
- Params
Response Sections
- Status Code
- Response Time
- Response Size
- Response Formats
- Body
- Cookies
- Headers
- Test Results
Authorization Type
- Basic
- Bearer Token
- No Auth
- Inherit auth from parent
- Digest Auth
- OAuth 1.0
- OAuth 2.0
- AWS Signature
- Hawk Authentication
- NTLM Authentication
Headers
- Accept
- Authorization
- Content-Type
- Cookie
- Host
- User-Agent
Practice 5 test cases to write API automation
DAY 2
Introduction to Postman Programming
– Request Chaining
– JSON Validation
Practice multiple API requests to run multiple data with conditions
Collections
– How to build collections
– Export, Run using Collection Runner
– Collection Export Options and Command Line
Variables
– Global, Environment, Collection
– Local and Data
– Overriding Variables
- When to use what variables?
- Best Practices
– Request Chaining
– JSON Validation
Practice multiple API requests to run multiple data with conditions
Collections
– How to build collections
– Export, Run using Collection Runner
– Collection Export Options and Command Line
Variables
– Global, Environment, Collection
– Local and Data
– Overriding Variables
- When to use what variables?
- Best Practices
DAY 3
REST Assured API
– RestAssured API Architecture
– Building a Request
Practice a testcase to Get a response from EndPoint
Request Specification
– body, content
– cookie / cookies, header / headers
– accept, contentType
– auth, response
– filters, log
– param / params, queryParam / queryParams
– formParam / formParams, pathParam / pathParams
– and, with, then
– expect, given
– when, then, that
– proxy
Practice few test cases using request specifications
– RestAssured API Architecture
– Building a Request
Practice a testcase to Get a response from EndPoint
Request Specification
– body, content
– cookie / cookies, header / headers
– accept, contentType
– auth, response
– filters, log
– param / params, queryParam / queryParams
– formParam / formParams, pathParam / pathParams
– and, with, then
– expect, given
– when, then, that
– proxy
Practice few test cases using request specifications
DAY 4
Response Validation and Framework Integration
– Pre & Post Request
– Status Code, Time
– expect, when
– extract, response
Makaia Framework Integration
– TestNG Integration with REST
– Cucumber Integration with REST
– ExtentReports Integration with REST
- Best Practices
– Pre & Post Request
– Status Code, Time
– expect, when
– extract, response
Makaia Framework Integration
– TestNG Integration with REST
– Cucumber Integration with REST
– ExtentReports Integration with REST
- Best Practices
Course Duration
3 WEEKS
Every Week
2 SESSIONS
Each Session
4 HOURS
Projects & Assignments
30 HOURS
Career