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

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

SDET Adda For QA Automation

54 года назад

567 Просмотров

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.5/weather?lat=12.971599&lon=77.594566&appid="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

https://youtube.com/playlist?list=PLxD77px6418Xjdme8VHlxy15qc038DQmt&si=lJrd-siYZZGKp7sm

Playwright with Java script [2024 latest] - End to end - By SDET Adda for QA Automation:
https://youtube.com/playlist?list=PLxD77px6418Xam0MXkYxT9fbfnZzT0zfQ&si=Fty5byUvjVI4GBrN

TestNG + Selenium 4 Tutorial -2024 Updated 🔥🔥🔥
https://youtube.com/playlist?list=PLxD77px6418VRTs383F_sjOy9PdkD-7Sb&si=9MSHjj4xBUkcwBsz

Linux and Bash Scripting Tutorial [2024 Updated]

https://youtube.com/playlist?list=PLxD77px6418XEm23EQd_DGKxYy5x_Pw8T&si=mNaPmm01kfaD7ED_

VirtualBox and Virtual Machine setup for Selenium Automation: https://youtube.com/playlist?list=PLxD77px6418VDuAeaSZ5ZnTruhwChuLWD&si=79ox57oUcRdnUTAU

Selenium Grid Tutorial For Beginners [2024 latest] - End to end - By SDET Adda for QA Automation: https://youtube.com/playlist?list=PLxD77px6418W1TC7rGX3NSp_nNjwpMFjz&si=9fhj9zIjiEPnN2LT

Git & GitHub Tutorial for Beginners [2024 Updated]: https://youtube.com/playlist?list=PLxD77px6418XK_DwqhhynloXWGcfOAEwO&si=lSj-Zxoh2HeiyJqG

Apache Maven Tutorial for Beginners | SDET ADDA: https://youtube.com/playlist?list=PLxD77px6418VduwPHIvVNpoTymCG_B9sh&si=MONeNhixeC-kkGJy

Jenkins 2024 Tutorial For Beginners | DevOps CI/CD | SDET ADDA: https://youtube.com/playlist?list=PLxD77px6418WfJMMS3yNo09QzJoeCdQ6N&si=3MiOxC8MUUpL09UJ

Karate Framework Tutorial:
https://youtube.com/playlist?list=PLxD77px6418X0B2NLLKBFkWXE3bbzYmW-&si=1gtdrPH8gwASwtqi

Top 100 Java Programs for Programming/coding and QA interviews
https://youtube.com/playlist?list=PLxD77px6418VxsaDvJ6q8CmGtN3JUy-ub&si=OxdIHVeO2Jce3Lb1

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/F7DewpbiLw7SDWd5/?mibextid=A7sQZp
Telegram channels:
https://t.me/sdetadda
https://t.me/+71BQkERkJJJiM2Q1

Тэги:

#weather_app_api #weather_app_javascript #Weather_API_Testing_using_Rest_Assured #How_to_perform_REST_API_Testing_using_REST_Assured #Rest_Assured_Tutorial #Free_Weather_Data_API #rest_api_tutorial_for_beginners #rest_api_tutorial_java #JSON_Path_Finder #bdd_framework #http_response_codes #selenium_webdriver_tutorial #sdet_raghavendra #SDET_QA #javascript_weather_api #live_weather_app #web_development #bigdata_testing #jmeter #Python #sdet_adda #real_weather_api_for_testing
Ссылки и html тэги не поддерживаются


Комментарии: