Session 4: API Testing | RestAssured | Parsing Response Body | JSONObject
SDET- QA
0:00 / 0:00
Session 4: API Testing | RestAssured | Parsing Response Body | JSONObject
156 621 просмотр · 3 года назад
SDET- QA
842 тыс. подписчиков
156 621 просмотр · 3 года назад
#apitesting #restassured#jsonobject
@02:02 Running local API
@02:41 checking api by URL
@03:27 Create package, class and test method
@5:54 Import static packages
VALIDATING JSON RESPONSE USING MATCHERS
@06:50 Declaring input type in Given() (correction @50:42)
@07:21 Declaring URL in GET request in When()
@8:00 Validate status code and Header in Then()
@09:02 Gather JSON response in POSTMAN for same URL
@12:00 JSON pathfinder to find path of specific field
@12:51 Using the path, validate a specific field of JSON response in Then()
@14:17 Execution of the code
VALIDATING JSON RESPONSE USING ASSERTIONS (Without using `Then()`)
@16:59 Declaring input type in Given()
@17:54 Declaring URL in GET request in When()
@18:14 Storing response into variable
@19:32 Validating status code using assertions.
@21:31 Gather Header in POSTMAN for same URL and Validating Header using assertions.
@23:01 Validating specific field of JSON response in Then() using assertions
@26:43 Execution of the code
@33:10 Converting JSON response into JSONObject
@34:33 Gather all values from specific JSON field for same URL in POSTMAN
@36:05 Using for loop to print all values from specific JSON field
@52:54 Execution of the code
@53:26 Drawbacks of this method.
@54:53 Using for loop and assertions to validate value from specific JSON field
@58:58 Execution of the code
@01:01:38 Printing the total of specific values from JSON field.
@01:05:10 Execution of the code
@01:05:31 Using assertions to validate total of specific values from JSON field.
@01:06:04 Execution of the code
#########################################
🚀 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...