{"id":19577560,"url":"https://github.com/prashant1507/bdd-restassured-framework","last_synced_at":"2025-05-12T12:43:42.317Z","repository":{"id":258695475,"uuid":"366846295","full_name":"prashant1507/BDD-RestAssured-Framework","owner":"prashant1507","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-26T16:13:25.000Z","size":12370,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T22:11:23.407Z","etag":null,"topics":["allure-report","bdd","bdd-framework","cucumber-jvm","java","maven","parallel-tests","rest-api","testng"],"latest_commit_sha":null,"homepage":"","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/prashant1507.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":"2021-05-12T20:32:44.000Z","updated_at":"2025-03-18T04:57:32.000Z","dependencies_parsed_at":"2024-10-21T18:01:08.255Z","dependency_job_id":null,"html_url":"https://github.com/prashant1507/BDD-RestAssured-Framework","commit_stats":null,"previous_names":["prashant1507/bdd-restassured-framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant1507%2FBDD-RestAssured-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant1507%2FBDD-RestAssured-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant1507%2FBDD-RestAssured-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant1507%2FBDD-RestAssured-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashant1507","download_url":"https://codeload.github.com/prashant1507/BDD-RestAssured-Framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253742728,"owners_count":21957084,"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":["allure-report","bdd","bdd-framework","cucumber-jvm","java","maven","parallel-tests","rest-api","testng"],"created_at":"2024-11-11T07:07:05.231Z","updated_at":"2025-05-12T12:43:42.289Z","avatar_url":"https://github.com/prashant1507.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## _BDD RestAssured Automation Framework_\n\nSample automation project to practice RestApi using:\n- Java Cucumber\n- TestNG (with parallel test)\n- Rest Assured\n- Maven\n- Allure Reporting\n\n### Test Runner\nTests can be executed in parallel using:\n- [pom.xml](pom.xml)\n- [testng.xml](testng.xml)\n- [TestRunner.java](src/test/java/runner/TestRunner.java)  \n**Note:** Reporting folder `allure-results`  will be cleaned before each run. To avoid it comment `FileSystem.deleteOldReports()` in `@BeforeSuite` of [TestRunner.java](src/test/java/runner/TestRunner.java)\n### To Deploy Sample JSON Server\n- Setup Node\n- Install `npm i json-server` or `npm i json-server -g`\n- Create a [db.json](src/test/resources/Files/db.json) file\n- Run `json-server --watch db.json`\n- Access server on `localhost:3000`  \n[Reference Link](https://www.npmjs.com/package/json-server)\n  \n### Note:\n- In [Common.java](src/main/java/utilities/Common.java), reusable methods are added using `RequestSpecBuilder` and `RequestSpecification`\n- In [servicehelpersPackage](src/main/java/servicehelpers), reusable methods are added using given(), when(), etc\n\n### Important Links:\n- To generate POJO - [https://www.jsonschema2pojo.org/](https://www.jsonschema2pojo.org/)\n- JSON Schema Validation\n    - [Reference Video](https://www.youtube.com/watch?v=3NiHE311Dbw\u0026list=PL6tu16kXT9PpgqfMbMdzUzDenYgb0gbk0\u0026index=18) \n    - [Maven Dependency](https://mvnrepository.com/artifact/io.rest-assured/json-schema-validator/4.3.3)\n- File Upload and Download using RestAssured\n    - [Reference Video](https://www.youtube.com/watch?v=_NRgpI48ogQ\u0026list=PL8VbCbavWfeE5aEeEpoXp2xiHi5K_7BMT\u0026index=21)\n- Allure Tags \n  ```\n    @Epic\n    @Features\n    @Stories/@Story\n    @Severity(SeverityLevel.BLOCKER)\n    @Description(\"In this cool test we will check cool thing\")\n    @Step\n    @Attachment\n    @Link\n    @Owner\n  ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant1507%2Fbdd-restassured-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashant1507%2Fbdd-restassured-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant1507%2Fbdd-restassured-framework/lists"}