{"id":26857178,"url":"https://github.com/alevp-dev/karate-api-testing","last_synced_at":"2026-01-08T09:09:30.302Z","repository":{"id":277335621,"uuid":"924784908","full_name":"alevp-dev/Karate-API-Testing","owner":"alevp-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T15:58:47.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T16:40:53.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Gherkin","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/alevp-dev.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":"2025-01-30T16:42:52.000Z","updated_at":"2025-03-11T15:58:51.000Z","dependencies_parsed_at":"2025-03-11T16:33:25.768Z","dependency_job_id":"ee09124e-ddae-4298-b57e-6f681b66ba29","html_url":"https://github.com/alevp-dev/Karate-API-Testing","commit_stats":null,"previous_names":["alevp-dev/karate-api-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FKarate-API-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FKarate-API-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FKarate-API-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FKarate-API-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alevp-dev","download_url":"https://codeload.github.com/alevp-dev/Karate-API-Testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399816,"owners_count":20770907,"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":[],"created_at":"2025-03-31T00:31:42.367Z","updated_at":"2026-01-08T09:09:30.296Z","avatar_url":"https://github.com/alevp-dev.png","language":"Gherkin","funding_links":[],"categories":[],"sub_categories":[],"readme":"QA Automation Project – API Booking with Karate\n----------------------------------------------------------\nDescription\n----------------------------------------------------------\nThis project is part of the QA Automation Training Program, where we explore tools and techniques for automated API testing. We use Karate and Cucumber to validate the endpoints of a booking system (Booking API), ensuring its correct functionality through functional and integration tests.\n\nTechnologies\n----------------------------------------------------------\nKarate: API testing framework\nJava: Base language for test execution\nMaven: Dependency management and test execution\nJUnit: Test runner\nCucumber Reports: Automatic report generation\n\nProject Structure\n----------------------------------------------------------\n```\nsrc-test-java/\nbookings/                      # Main test folder  \ncreateBooking/                 # Booking creation tests  \ngetBooking/                    # Booking retrieval tests  \nupdateBooking/                 # Booking update tests  \ndeleteBooking/                 # Booking deletion tests  \nauth/                          # Authentication token generation  \ntarget/                        # Reports and test results  \npom.xml                        # Maven configuration  \nREADME.md                      # Project documentation  \n```\n\nInstallation and Setup\n----------------------------------------------------------\n1 Clone the repository\n```\ngit clone https://github.com/your-username/karate-api-testing.git\ncd karate-api-testing\n```\n\n2️ Install dependencies\nEnsure Java and Maven are installed. Then, run:\n```\nmvn clean install\n```\n\n3️ Run tests from the console\nOn Windows (CMD or PowerShell):\n```\nmvn test\n```\nOn Mac/Linux (Terminal):\n```\nmvn test\n```\n\nTest Scenarios\n----------------------------------------------------------\nThe project covers the following scenarios:\n✔ Booking creation (POST /booking)\n✔ Booking retrieval (GET /booking/{id})\n✔ Booking update (PUT /booking/{id})\n✔ Booking deletion (DELETE /booking/{id})\n✔ Authentication with token\n\nTest Reports\n----------------------------------------------------------\nTest reports are automatically generated using Cucumber in HTML and JSON formats within the target/cucumber-reports folder.\n\nTo view reports on Windows\nOpen the file explorer and navigate to the project folder.\nGo to target/cucumber-reports/ and open cucumber-html-reports.html in a browser.\nTo view reports on Mac/Linux\nFrom the terminal, run:\n```\nopen target/cucumber-reports/cucumber-html-reports.html\n```\nIf you want to regenerate the report manually, execute:\n```\nmvn surefire-report:report\n```\n\n# Contributions\nContributions, issues, and feature requests are welcome! Feel free to fork this repository and submit a pull request.\n\n---\nDeveloped with ❤️ by **Alejandra Villa Posada**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falevp-dev%2Fkarate-api-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falevp-dev%2Fkarate-api-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falevp-dev%2Fkarate-api-testing/lists"}