Giter Site home page Giter Site logo

rarescode / reqres Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 75 KB

Performing Api Testing on Reqres with ReadyApi

Home Page: https://reqres.in/

api api-rest smartbear readyapi database-testing soapui-pro jdbc-connector data-driven-testing sql api-testing

reqres's Introduction

Testing Reqres Api

This project involves testing the Reqres API using ReadyAPI. Through a combination of various assertions, database CRUD operations, and data matching techniques, the project aims to ensure the API's functionality, performance, and data integrity. ReadyAPI's powerful assertion capabilities will be used to validate HTTP status codes, response SLAs, content inclusion/exclusion, and content matching. Additionally, the project will perform CRUD operations on the associated database using JDBC statements and verify the success and timing of these operations. The captured data will be compared against the API response, ensuring consistency.

Readyapi Assertions/Operations

  • Valid/Invalid HTTP status codes
  • Response SLA
  • Contains/Not Contains
  • Match Content
  • Jdbc Status
  • Jdbc timeout
  • Datasink

Testing Process

testrun.mp4

Test Report

result

Setup

  • Install and configure Readyapi

  • Import Rest api project available in Readyapi folder

  • Install and configure MySql Server

  • Import the self-contained file available in Db folder

  • Download JDBC driver/Connector platform independent from

  https://dev.mysql.com/downloads/connector/j/
  • Place the driver in C:\Program Files\SmartBear\ReadyAPI-3.20.1\bin\ext

  • Restart Ready api

  • Click On Databases and modify connection string according to your mysql server information, here is the template:

  jdbc:mysql://<HOST:127.0.0.1>:<PORT:3306>/<DB>?user=<USER>&password=<PASSWORD>

reqres's People

Contributors

rarescode avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tifa90

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.