{"id":16376789,"url":"https://github.com/mfaisalkhatri/okhttprestassuredexamples","last_synced_at":"2025-03-21T01:32:23.684Z","repository":{"id":43297202,"uuid":"245687094","full_name":"mfaisalkhatri/OkHttpRestAssuredExamples","owner":"mfaisalkhatri","description":"API Testing using Rest-Assured and OkHttp. ","archived":false,"fork":false,"pushed_at":"2022-10-19T06:19:08.000Z","size":71,"stargazers_count":35,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T03:26:10.591Z","etag":null,"topics":["api-automation","api-testing","automation-test","automation-testing","hacktoberfest","java","learning","okhttp","rest-api-test","rest-assured","test-automation","testing","tutorial"],"latest_commit_sha":null,"homepage":"http://mfaisalkhatri.github.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfaisalkhatri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-07T18:47:41.000Z","updated_at":"2024-09-25T03:08:40.000Z","dependencies_parsed_at":"2023-01-20T07:31:27.167Z","dependency_job_id":null,"html_url":"https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FOkHttpRestAssuredExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FOkHttpRestAssuredExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FOkHttpRestAssuredExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2FOkHttpRestAssuredExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfaisalkhatri","download_url":"https://codeload.github.com/mfaisalkhatri/OkHttpRestAssuredExamples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811349,"owners_count":16884297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-automation","api-testing","automation-test","automation-testing","hacktoberfest","java","learning","okhttp","rest-api-test","rest-assured","test-automation","testing","tutorial"],"created_at":"2024-10-11T03:26:12.339Z","updated_at":"2024-10-28T09:05:51.142Z","avatar_url":"https://github.com/mfaisalkhatri.png","language":"Java","readme":"\n![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Github Actions Workflow](https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples/actions/workflows/maven.yml/badge.svg)](https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples/actions/workflows/maven.yml)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=mfaisalkhatri_OkHttpRestAssuredExamples\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=mfaisalkhatri_OkHttpRestAssuredExamples)\n\n\n## Don't forget to give a :star: to make the project popular.\n\n## :question: What is this Repository about?\n\nThis project is the outcome of my self-learning the API Testing Automation frameworks - Rest-assured and OkHttp.\nI 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.\n  \nHence, I started learning about these frameworks and have documented all my learnings in this repository.\n\nCheckout my blog [API Testing using RestAssured and OkHttp][blog] where I talk about these frameworks in details \nand which one to choose for testing your APIs.\n\nTo get a better understanding on API Testing, check [What is API Testing?][blog_apitesting]\n\n## Details about this Project:\n\n- This repo contains example codes of API Tests using Rest-Assured and OkHttp.\n- Hamcrest Matchers and TestNG asserts are used for assertions.\n- TestNG Listeners are used to capture the events in log.\n- Log4j is used to capture logs.\n- Lombok has been used to generate Getter and Setters automatically for post body requests.\n- Rest APIs on https://reqres.in/ have been used for testing.\n\n## :question: Need Assistance?\n\n- Discuss your queries by writing to me at [mohammadfaisalkhatri@gmail.com][mail] or you can ping me on the following social media sites:\n- Twitter: [mfaisal_khatri][twitter] \n- LinkedIn: [Mohammad Faisal Khatri][linkedin]\n- Contact me for 1:1 trainings related to Test Automation.\n\n## :thought_balloon: Checkout the blogs related to Testing on my [website][]\n\n[mail]: mohammadfaisalkhatri@gmail.com\n[linkedin]: https://www.linkedin.com/in/faisalkhatri/\n[twitter]: https://twitter.com/mfaisal_khatri\n[website]: https://mfaisalkhatri.github.io\n[blog]: https://mfaisalkhatri.github.io/2020/05/29/restassuredokhttp/\n[blog_apitesting]: https://mfaisalkhatri.github.io/2020/08/08/apitesting/","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fokhttprestassuredexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfaisalkhatri%2Fokhttprestassuredexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fokhttprestassuredexamples/lists"}