Part 1: Building API Automation Testing Framework in Rest Assured from from Scratch
Автор: SDET- QA
Загружено: 2023-03-16
Просмотров: 239578
#apitesting #restassured #framework
@8:47 Petstore API
@12:10 Choosing one model from Petstore API
@12:37 Preparing test cases in Excel sheet
@16:02 Workflow for REST Assured automation
@24:47 Create Maven project in Eclipse
@28:55 Update pom.xml with required dependencies and update project
@35:36 Create packages for endpoints, payload, tests and utilities
@37:47 Delete src/main/java & src/main/resources from project
@39:56 Create a class name "Routes" in endpoints package
@40:22 Gather all required URLS from Petstore API
@42:50 Store base url in variable
@44:53 Store POST url in variable and refer base url variable
@46:07 Follow same method for Get URL, Update URL & Delete URL but with path parameter
CREATE USER
@52:28 Create a class name "UserEndPoints" in same package
@55:35 Create a method with single parameter (@1:01:15 Adding Public static to this method)
@57:48 Declare input type in Given()
@58:25 Gather Header details from Petstore API
@59:11 Declaring Accept header field in Given() & refer parameter in body()
@1:00:22 Refer post URL variable from "Routes" class in POST request in When()
@1:00:56 Storing response in variable and return response
READ USER
@1:03:12 Copy the method #1 and paste in same class and change name of the method
@1:03:40 Pass parameter for the method.
@1:04:08 Remove all declarations in Given(), declare path parameter and pass path parameter value in it.
@1:04:57 Refer get URL variable from "Routes" class in GET request in When()
UPDATE USER
@1:06:37 Copy the method #1 and paste in same class and change name of the method
@1:07:17 Pass two parameters in the method: Username & Payload
@1:08:00 Add path parameter for "Username" in Given()
@1:08:28 Refer update URL variable from "Routes" class in PUT request in When()
DELETE USER
@1:09:24 Copy read user method, paste in same and change name of the method
@1:09:56 Refer delete URL variable from "Routes" class in DELETE request in When()
POJO CLASS
@1:11:06 Create a class name "User" under payload package
@1:12:30 Gather variables from response details in Petstore API
@1:12:54 Create those variables in the class
@1:13:28 Create Getter and Setter methods for this variables
@1:14:45 Import Pojo class package in "UserEndPoints" class
TEST CASE
@1:16:35 Create a class under "Test" package
@1:17:25 Create Beforeclass method in the class
@1:18:13 Create multiple data using Faker class and pass data to the pojo class
@1:21:55 Create test method
@1:22:55 Call "Create user" method from "UserEndPoints" class and store response in variable
@1:23:51 Log response in console
@1:24:20 Validate status code using assertions
#########################################
🚀 Udemy Courses 👨💻👩💻
##########################################
🟢 Playwright with TypeScript 🎭📘
👉 https://www.udemy.com/course/learn-pl...
🟡 Playwright with JavaScript 🎭📒
👉 https://www.udemy.com/course/learn-pl...
🤖 Generative AI for Software Testing 🧠💡
👉 https://shorturl.at/Uk2eM
🧪 Manual Testing + Agile with Jira Tool 📋⚙️
👉 https://www.udemy.com/course/learn-ma...
💻 Selenium with Java + Cucumber 🥒☕
👉 https://www.udemy.com/course/learn-se...
🐍 Selenium with Python & PyTest 🐍🧪
👉 https://www.udemy.com/course/learn-se...
🤖 Selenium with Python using Robot Framework 🤖📐
👉 https://www.udemy.com/course/learn-se...
🔌 API Testing (Postman, RestAssured & SoapUI) 🔍🔧
👉 https://www.udemy.com/course/learn-se...
🌐 Web & API Automation using Cypress with JavaScript 💻🧬
👉 https://www.udemy.com/course/learn-cy...
📊 JMeter - Performance Testing 🚀📈
👉 https://www.udemy.com/course/learn-jm...
🧩 SDET Essentials (Full Stack QA) 🧠🔍
👉 https://www.udemy.com/course/learn-sd...
📱 Appium - Mobile Automation Testing 📲🧪
👉 https://www.udemy.com/course/learn-ap...
☕ Java Collections 📚🔄
👉 https://www.udemy.com/course/learn-ja...
🥒 Cucumber BDD Framework 📘💬
👉 https://www.udemy.com/course/learn-cu...
🛠️ Protractor with JavaScript 🔧📐
👉 https://www.udemy.com/course/learn-pr...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: