Rest Assured API Testing Framework


Rest Assured API Testing Framework


In this article, I will be sharing the complete API Testing framework using rest assured.

Please Note as explained in other articles on this blogs for security purpose I have changed the keys used in Google API, JIRA, and Twitter API. So for using this framework, you need to generate your own private key as I explained in articles and use it.

Below are some of the important feature of this rest assured API Testing framework


ü Programming Language Used: JAVA
ü JDK Version:1.8
ü Framework Used: TestNg with Data-driven approach
ü Design Pattern: You can implement this with either with cucumber or with page object.
ü Project Type: Maven
ü Loggers: Log4j
ü Request and Response Loggers for easy tracking
ü Screenshot: TakeScreenshot Interface
ü Listeners: RetryListner,WebElement Listener and ITestListner
ü Reporting: TestNg Reports and Extent Report
ü Code Checkin: Git Repository
ü CICD Tools: Jenkins

You can execute all the test either through Command prompt, Eclipse Console, Maven Command-Line or Maven Eclipse, TestNG or through Jenkins, I have validated the code through all the possible ways.

Please click on the Download button to download this Framework.







SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
June 3, 2019 at 1:00 PM

How to run the framework, Please help

Reply
avatar
July 7, 2019 at 4:34 PM

Why do we need browser Chrome?

Reply
avatar
July 7, 2019 at 8:02 PM

Hi Ravi,No browser was used in this framework.I have incorrectly mention the browser details in article which has been rectified now.

Reply
avatar
October 19, 2019 at 10:54 PM

Please can you send me on kkcolaco@gmail.com mail id as am not able to download it.
Thanks

Reply
avatar
November 6, 2019 at 1:42 PM

Hi,can you please send me on my mail id bellikuppiamruta123@gmail.com as im not able to download.
Thanks

Reply
avatar
November 25, 2019 at 12:37 PM

"winners":[{
"winnerId":23,
"numbers":[2,45,34,23,3,5]
},{
"winnerId":54,
"numbers":[52,3,12,11,18,22]
}

My Scenario is to create Multiple winner id and numbers using put Method. How to pass the params

Reply
avatar
May 29, 2020 at 11:13 AM

how to connect rest API with azure db to get response and validate against API response, please help.. ?

Reply
avatar
July 6, 2020 at 5:25 PM

Can you add few test cases to validate the the JSON response parameters with databse table values.

Reply
avatar
July 13, 2020 at 12:21 PM

Hi Sir,
I am attending for interviews on RestAPI as well as Selenium Testing , They have been asking "Can you please explain about the strcuture of project in Sel and RestAssured".
I Know Manual testing but I am trying for job on Automation ,I know when I search in Google I will get lot of answers for above questions..
But I really Need practical answers for that like how we do in real environment..
It would be really helpful if you can post that also n this blog

Reply
avatar