Part 1: Building API Automation Testing Framework in Rest Assured from from Scratch

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: SDET- QA
177,696
1.7k

#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:
Manual Testing+Agile with Jira Tool
► https://lnkd.in/gNqhEq9K
Selenium with Java+Cucumber
► https://lnkd.in/g5YcAQyR
Selenium with Python & PyTest
► https://lnkd.in/gvrpyYan
Selenium with python using Robot framework
► https://lnkd.in/gxsDf8zR
API Testing(Postman, RestAssured & SoapUI)
► https://lnkd.in/gHKQ2v2e
Web & API Automation using Cypress with Javascript
► https://lnkd.in/gcZz5Psx
Playwright with Javascript
► https://lnkd.in/g-ePPav6
Jmeter-Performance Testing
► https://lnkd.in/gA3eiZPY
SDET Essencials(Full Stack QA)
► https://lnkd.in/gmBc4-wD
Appium-Mobile Automation Testing
► https://lnkd.in/gi_UiRTA
Java Collections
► https://lnkd.in/gZftiiEn
Python Programming
► https://lnkd.in/ghP6WHQz
Cucumber BDD Framework
► https://bit.ly/3F7d69r
Protractor with Javascript
► https://lnkd.in/gZnJ2qsS

Youtube Playlists:
Manual Testing & Agile
► https://bit.ly/3ujvaYa
► https://bit.ly/3OYzxQj
SQL
► https://bit.ly/3R6XjeG
► https://bit.ly/3nE0a1s
► https://bit.ly/3IeKuuJ
linux & Shell Scripting
► https://bit.ly/3up1Z6a
► https://bit.ly/3nzvGxx
Java
► https://bit.ly/3R9QfOs
► https://bit.ly/3AoRMKM
► https://bit.ly/3IbTTDn
► https://bit.ly/3ybXInv
► https://bit.ly/3yCoHdw
Selenium With Java+Cucumber
► https://bit.ly/3P2FMm4
► https://bit.ly/3yhiIt4
► https://bit.ly/3uokzet
► https://bit.ly/3a7XIND
► https://bit.ly/3umN2S9
► https://bit.ly/3aar7GW
► https://bit.ly/3y9kD2S
► https://bit.ly/3uhLskn
Python
► https://bit.ly/3agNgU0
► https://bit.ly/3NJNnoy
► https://bit.ly/2CTQ4mR
► https://bit.ly/3OIYWh1
Selenium With Python,Pytest&Behave
► https://bit.ly/3OHHoC9
► https://bit.ly/3IeNLdv
► https://bit.ly/2J4tPeT
► https://bit.ly/3ydSkAq
Selenium With Python Using Robert Framework
(Web&API Testing)
► https://bit.ly/3nUvlpr
► https://bit.ly/3nUvE3z
API Testing (Postman,SoapUi,&Rest Assured)
https://bit.ly/3OXacWY
https://bit.ly/3yh0UhE
https://bit.ly/3nC9DWQ
https://bit.ly/3yGfhNS
https://bit.ly/3OJa11H
https://bit.ly/3P2slCC
Mobile App Testing Appium
https://bit.ly/3Al49HG
Performance Testing Jmeter
https://bit.ly/3nz4fE7
Maven,Jenkins,Git,Github,CI/CD
https://bit.ly/3P16HPj
https://bit.ly/3yhlUVA
https://bit.ly/3afYfwT
https://bit.ly/3yGzweG
https://bit.ly/3yF73Ws
https://bit.ly/3NCOmH7
Playwright with Javascipt
https://lnkd.in/gQZwaaVD


Auf dieser Seite können Sie das Online-Video Part 1: Building API Automation Testing Framework in Rest Assured from from Scratch mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer SDET- QA 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 177,696 Mal angesehen und es wurde von 1.7 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!