Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mfaisalkhatri/okhttprestassuredexamples
API Testing using Rest-Assured and OkHttp.
https://github.com/mfaisalkhatri/okhttprestassuredexamples
api-automation api-testing automation-test automation-testing hacktoberfest java learning okhttp rest-api-test rest-assured test-automation testing tutorial
Last synced: 11 days ago
JSON representation
API Testing using Rest-Assured and OkHttp.
- Host: GitHub
- URL: https://github.com/mfaisalkhatri/okhttprestassuredexamples
- Owner: mfaisalkhatri
- License: apache-2.0
- Created: 2020-03-07T18:47:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T06:19:08.000Z (about 2 years ago)
- Last Synced: 2024-10-12T03:26:10.591Z (27 days ago)
- Topics: api-automation, api-testing, automation-test, automation-testing, hacktoberfest, java, learning, okhttp, rest-api-test, rest-assured, test-automation, testing, tutorial
- Language: Java
- Homepage: http://mfaisalkhatri.github.io
- Size: 69.3 KB
- Stars: 35
- Watchers: 4
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Github Actions Workflow](https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples/actions/workflows/maven.yml/badge.svg)](https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples/actions/workflows/maven.yml)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples&metric=coverage)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)## Don't forget to give a :star: to make the project popular.
## :question: What is this Repository about?
This project is the outcome of my self-learning the API Testing Automation frameworks - Rest-assured and OkHttp.
I heard a lot about Rest-Assured and OkHttp and how it made the QA's life easier by helping them to run all the tedious API tests in an efficient way.
Hence, I started learning about these frameworks and have documented all my learnings in this repository.Checkout my blog [API Testing using RestAssured and OkHttp][blog] where I talk about these frameworks in details
and which one to choose for testing your APIs.To get a better understanding on API Testing, check [What is API Testing?][blog_apitesting]
## Details about this Project:
- This repo contains example codes of API Tests using Rest-Assured and OkHttp.
- Hamcrest Matchers and TestNG asserts are used for assertions.
- TestNG Listeners are used to capture the events in log.
- Log4j is used to capture logs.
- Lombok has been used to generate Getter and Setters automatically for post body requests.
- Rest APIs on https://reqres.in/ have been used for testing.## :question: Need Assistance?
- Discuss your queries by writing to me at [[email protected]][mail] or you can ping me on the following social media sites:
- Twitter: [mfaisal_khatri][twitter]
- LinkedIn: [Mohammad Faisal Khatri][linkedin]
- Contact me for 1:1 trainings related to Test Automation.## :thought_balloon: Checkout the blogs related to Testing on my [website][]
[mail]: [email protected]
[linkedin]: https://www.linkedin.com/in/faisalkhatri/
[twitter]: https://twitter.com/mfaisal_khatri
[website]: https://mfaisalkhatri.github.io
[blog]: https://mfaisalkhatri.github.io/2020/05/29/restassuredokhttp/
[blog_apitesting]: https://mfaisalkhatri.github.io/2020/08/08/apitesting/