Coder Social home page Coder Social logo

apiautomation5xframework's Introduction

APIAutomationRestAssured

API Automation Framework with the CRUD of Restful Booker

mvn test -Dsurefire.suiteXmlFiles=testng.xml

Screenshot 2023-10-31 at 12 25 55 PM

Tech Stack

  1. Rest Assured
  2. Java
  3. Apache POI, TestNG, Maven
  4. Jackson and GSON
  5. Log42
  6. Allure Report
  7. Full Folder Structure(Hybrid) Framework.
  8. Jenkins File
Screenshot 2023-10-31 at 12 26 07 PM

Run

Basic Create Test

mvn clean test

Integration Test (Create BookinG and Create Token , Update and Delete Booking)

mvn clean test -DsuiteXmlFile=testng-integration.xml

Try these Cases also

POSTMAN Assignments 
Assignment 1

Create the Collections for the This Test cases :

App - Restful Booker with(Auth)

  1. Create a Booking, Update the Booking Name, Get the Booking by Id and verify.
  2. Create a Booking, Delete the Booking with Id and Verify using GET request that it should not exist.
  3. Get an Existing Booking from Get All Bookings Ids , Update a Booking and Verify using GET by id.
  4. Create a BOOKING, Delete It
  5. Invalid Creation - enter a wrong payload or Wrong JSON.
  6. Trying to Update on a Delete Id

Test for the Single Req

  1. Response
  2. Status Code
  3. Headers

———

Create Collection

  • RestfulBooker CRUD operation.
  • Add from Snippets , Test cases
  • Integration Scenarios (Hard Coded)

Assert. - Should not happen (9%) Expect. - Actual Result == Expected ( 90%) Should - Hard it should happen (1%)

Assignments 2

Full CRUD Test cases for the Github Repo API with Integration Scenarios

  1. Create a Test Cases on Template.
  2. Submit the Postman Collection with Test cases Added
  3. Add the Test cases and integration scenarios also
  4. Write Better Advance Postman Test cases.

Assignments 3

  1. Get Token ( 2 Step)
  2. Upload image on Imgur with OAuth 2.0 ( hash will be generated)
  3. Get that image and verify the link hash

Assignments 4

Try the Complex JSON Parsing with the Map and Filters On Assignment Tab.

Assignments 5

Add JSON Schema Validation for POST, PUT Request for the Restful BOOker.

apiautomation5xframework's People

Contributors

ipromode avatar

Stargazers

PAVITHRA D avatar  avatar Chinmay Kulkarni avatar Abhishek avatar  avatar Vishal Gandhe avatar

Watchers

Promode avatar  avatar

Forkers

mahendragawde

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.