Giter VIP home page Giter VIP logo

api-testing-framework's Introduction

Tests Docker Image Alerts

API-Testing-Framework

API Testing using Rest-Assured & Postman, Load Testing using Gatling

  • RestAssured / Gatling / Postman
  • TestNG
  • Extent Reports
  • Java Faker
  • Github Actions

Features:

  • Slack integration: Get slack messages after each test/deployment
  • Latest Exection Report: View latest exection HTML report hosted using Github Pages
  • Docker Image: Automatic docker image build and push to docker hub

How to run tests:

Open Terminal in API-Testing-Framework folder and run (for debug logs use: mvn -e -X clean test):

#API Tests (Rest Assured)
mvn clean test --no-transfer-progress

#Load Tests (Gatling)
mvn clean gatling:test

To run the Rest Assured API Tests in docker container use this image DockerHub. Works for both linux/amd64 and linux/arm64.

Open the terminal and make a seperate directory for test reports

mkdir TestReports && cd TestReports
docker run -v ${PWD}:/home/apiframework/Reports heyrmi/apitestingframework

Reports:

Report will be automatically published here: Latest-Execution-Report

api-testing-framework's People

Contributors

dependabot[bot] avatar heyrmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

api-testing-framework's Issues

Add Postman API testing collection

Add API Testing files using Postman, add provision for running them in GitHub Actions using newman and add reporting with newman HTML reporter.

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.