Building API Automation Testing Framework in Rest Assured from Scratch | Weather API Testing

Опубликовано: 02 Август 2024
на канале: SDET Adda For QA Automation
664
25

Learn to build a robust API automation framework using Rest Assured from the ground up?
We'll test a weather API as a practical example.

In this video, I'll guide you through testing a weather API with Rest Assured. We'll start by choosing the right API and gathering city data, then set up our test environment before writing and running test cases.

This video will address the following questions:

API Testing using Rest Assured
How to perform REST API Testing using REST Assured
Simplifying REST API Testing with Rest-Assured
Rest API Automation with REST Assured
Weather Data and Weather API
Weather API https://api.openweathermap.org/data/2..."APIKEY"
Free Weather Data API
Rest Assured Tutorial
Introduction to RestAssured
Setting RestAssured Maven Project
Including The Required REST Assured and Other Dependencies
Writing first REST Assured API Automation Script
HTTP Methods
What is Rest Assured
Pre requiste for Rest Assured
Installing JAVA & Eclipse
Install TESTNG in Eclipse
Switch to workplace in Eclipse
Create MAVEN project in Eclipse
Increase font in Eclipse
Checking TESTNG installation
Adding dependencies in pom.xml
Remote API
Create package under src/test/java
Create a class to write test scripts
Things should be declared in Given()
Things should be declared in When()
Things should be declared in Then()
Create a test
Import static packages into code
Dot (method chaining)
Gathering GET request details for multiple users
Create a GET request for multiple users
How to validate status code
How to validate JSON response
How to print JSON response in console
Execute the code using TestNG
Create a test
Gathering POST request details for single user
Declaring input data using Hashmap
Declaring input type
Create a POST request for single user
Validate status code & print JSON response in console
JSON Path Finder
How to capture ID in JSON response
Create a test to update user by referring captured ID and with another input data.
Using dependsOnMethods attribute to skip current test if previous test is failed.

Playlists in this channel's are:
******************************************************************************************************
Selenium Cucumber BDD Framework development with Java and TestNG | Latest Features (2023-2024) Series

   • Selenium Cucumber BDD Framework devel...  

Playwright with Java script [2024 latest] - End to end - By SDET Adda for QA Automation:
   • Playwright with Java script [2024 lat...  

TestNG + Selenium 4 Tutorial -2024 Updated 🔥🔥🔥
   • TestNG + Selenium 4 Tutorial -2025 Up...  

Linux and Bash Scripting Tutorial [2024 Updated]

   • Linux and Bash Scripting Tutorial [20...  

VirtualBox and Virtual Machine setup for Selenium Automation:    • VirtualBox and Virtual Machine setup ...  

Selenium Grid Tutorial For Beginners [2024 latest] - End to end - By SDET Adda for QA Automation:    • Selenium Grid Tutorial For Beginners ...  

Git & GitHub Tutorial for Beginners [2024 Updated]:    • Git & GitHub Tutorial for Beginners [...  

Apache Maven Tutorial for Beginners | SDET ADDA:    • Apache Maven Tutorial for Beginners |...  

Jenkins 2024 Tutorial For Beginners | DevOps CI/CD | SDET ADDA:    • Jenkins 2024 Tutorial For Beginners |...  

Karate Framework Tutorial:
   • Karate Framework Tutorial  

Top 100 Java Programs for Programming/coding and QA interviews
   • Top 100 Java programs for programming...  

References:
JSON Path Finder: https://jsonpathfinder.com/
Weather API: https://openweathermap.org/current
Latitude and Longitude Finder: https://www.latlong.net/

Facebook group: https://www.facebook.com/share/F7Dewp...
Telegram channels:
https://t.me/sdetadda
https://t.me/+71BQkERkJJJiM2Q1


Смотрите видео Building API Automation Testing Framework in Rest Assured from Scratch | Weather API Testing онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SDET Adda For QA Automation 02 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 664 раз и оно понравилось 25 людям.