#2 GET API Automation using Rest Assured | How to Automate GET Api with Rest Assured

Опубликовано: 04 Октябрь 2024
на канале: Suresh SDET Automation
1,404
23

Step by step guide for the setup of Rest Assured.io

Step 1) Install Java. Refer to this :-    • How to install JAVA in windows 10 OS ...  

Step 2) Download an IDE to begin :-    • How to install Eclipse IDE in Windows...  

Step 3) Install Maven and set up your eclipse :-    • How to Install Maven on Windows OS | ...  

Step 4) Create Maven Project in Eclipse IDE

Step 5) Add the dependencies into POM.XML like RestAssured , JSON Simple, TestNG

Step 7) Create s package and class under src/test/java

Step 8) Use RestAssured class to invoke BaseURI

Step 9) Use Request Specification interface to handle the Header, Body and methods

Step 10) Use Response interface to handle the response body

Step 11) Add assertions by using Response Interface instance.

Check out other Series offered by SH Study Tech
Test case Studio link https://selectorshub.com/testcase-stu...

Cypress Automation:    • Cypress Automation  

Rest Assured + TestNG :    • API Automation - Rest Assured  

Automation batch jobs :    • Automation Batch - CMD  

Cucumber Framework:    • Cucumber/BDD Framework  

SDLC/STLC :    • SDLC/STLC  

GitHub Series:    • GitHub Tutorial Series  

TestNG Framework :    • TestNG Framework Tutorial Series  

QA/SDET Java interview question :    • Automation Testing Interview Questions  

Selenium interview questions and answers for freshers and experienced:    • Selenium interview questions  

Filesystem in java and selenium:    • FileSystem_JAVA/Selenium  

Selenium beginners tutorials:    • Selenium Beginner Tutorial  

Postman beginners tutorials:    • Postman beginner tutorial  

Selenium :    • Selenium  

Advance selenium:    • Advance Automation  

Mobile testing:    • Mobile Testing  

Please do subscribe for more tutorials on selenium automation @SH Study Tech

Please share questions and queries in the comments section.

Follow me on Facebook: https://fb.me/SHStudyTech

Follow me on LinkedIn :   / sh-study-tech-b24979202  

Follow me on the blog: https://shstudytech.blogspot.com/

Follow me on Twitter: shstudy


Subscribe to youtube channel:    / @sureshsdetautomation