{"id":21758916,"url":"https://github.com/anshul-sonpure/restassured_tutorial","last_synced_at":"2025-03-21T04:14:27.342Z","repository":{"id":156022497,"uuid":"553411135","full_name":"Anshul-Sonpure/RestAssured_Tutorial","owner":"Anshul-Sonpure","description":"This GitHub repo is for beginners and learners. It offers comprehensive tutorials and resources to make learning rest assured easy. Whether a beginner or experienced, the repo has something for everyone. Start expanding your coding skills now! I have written an article on the same do check the below article on medium.","archived":false,"fork":false,"pushed_at":"2023-04-05T15:50:47.000Z","size":497,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T00:34:14.522Z","etag":null,"topics":["apitesting","bdd-tests","rest-api","restassured","restassured-framework"],"latest_commit_sha":null,"homepage":"https://medium.com/@theautobot/rest-api-and-rest-assured-tutorial-understanding-and-implementing-restful-web-services-33fd5659a09a","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anshul-Sonpure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-18T07:10:06.000Z","updated_at":"2023-02-03T13:25:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ff41872-b275-4f22-abb8-f962b24d7476","html_url":"https://github.com/Anshul-Sonpure/RestAssured_Tutorial","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/Anshul-Sonpure%2FRestAssured_Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anshul-Sonpure%2FRestAssured_Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anshul-Sonpure%2FRestAssured_Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anshul-Sonpure%2FRestAssured_Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anshul-Sonpure","download_url":"https://codeload.github.com/Anshul-Sonpure/RestAssured_Tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244734202,"owners_count":20501018,"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":["apitesting","bdd-tests","rest-api","restassured","restassured-framework"],"created_at":"2024-11-26T11:24:35.687Z","updated_at":"2025-03-21T04:14:27.336Z","avatar_url":"https://github.com/Anshul-Sonpure.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RestAssured Tutorial\nHi All,\nThis repository is for all those who want to learn API testing using rest assured.\\\nIn this repo I have written testscripts on how we can make GET,POST,PATCH/PUT and DELETE request in restassured for API Testing.\\\nI have also covered some other testscripts like setting query,path and form parameters,how we can log data and how to do validation.\\\nAlso I have tried to cover an end to end flow for and API Testing.\\\nImplemented Extent Report for Reporting,still working on enhancement for the\\\nreporting part in extent-report.\\\nIn Repo you will learn how to make GET call, POST using map,POJO class,JSON Object,Json file, PUT/PATCH/DELETE request.\\\nHow to set query,path parameter and how to log header,body, cookies.\\\nHow to blacklist header being print on console.\\\nHow to upload and download file using api call.\\\nHow to Test asynchronous systems, using Awaitility which is a DSL that\\\nallows you to express expectations of an asynchronous system in a concise and easy to read manner.\n\n## Features\n- Rest assured is java library for testing Restful Web services. It can be used to test XML \u0026 JSON based web services. \n- It supports GET, POST, PUT, PATCH, DELETE, OPTIONS and HEAD requests and can be used to validate and verify the response of these requests. \n- Also it can be integrated with testing frameworks like JUnit, TestNG etc.\n\n## Methods\n\nHTTP methods (GET, PUT, POST, PATCH and DELETE) and these methods can be mapped to CRUD operations.\n\n    GET retrieves the resource at a specified URI.\n    PUT updates a resource at a specified URI. Also be used to create a new resource at a specified URI. Replaces the entire product entity.\n    PATCH support partial updates.\n    POST creates a new resource.\n    DELETE deletes a resource at a specified URI.\n\n## Error Codes\nHTTP response status codes are grouped in five classes:\n\n    Informational responses (100–199),\n    Successful responses (200–299),\n    Redirects (300–399),\n    Client errors (400–499),\n    Server errors (500–599)\n\n\n## Installation\nIDE - IntelliJ / Eclipse\nVersion Control - Git\nBuild tool - Maven,TestNG\n\nClone the repo\n```\ngit clone https://github.com/Anshul-Sonpure/RestAssured_Tutorial.git\n```\nBuild the project\n```\nmvn clean \nmvn install\n```\nTo run the project either execute each testscript or\n```\nmvn test\n```\n- Note: Please feel free to provide your valuable comments for making this repo better.\nSuggestions regarding the extent report part is most welcomed and much appreciated.\n\nThank You\\\nHappy Coding,\\\nLearn,Code and Earn\\\nStay Safe and Stay Positive :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanshul-sonpure%2Frestassured_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanshul-sonpure%2Frestassured_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanshul-sonpure%2Frestassured_tutorial/lists"}