{"id":15136162,"url":"https://github.com/ashrika786/api-testing-python","last_synced_at":"2025-10-23T11:31:22.916Z","repository":{"id":37773152,"uuid":"376215147","full_name":"ashrika786/api-testing-python","owner":"ashrika786","description":"A Rest-API test automation framework which is build on the top of Python language using PyTest Framework.","archived":false,"fork":false,"pushed_at":"2021-06-12T07:04:44.000Z","size":12626,"stargazers_count":28,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T18:04:42.208Z","etag":null,"topics":["api-rest","api-testing-framework","api-testing-python","http-request-test","http-requests","http-responce-code","postman","pycharm-ide","pytest","pytest-framework","python","python-tests","rest-api","rest-api-test-framework","test-automation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ashrika786.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}},"created_at":"2021-06-12T06:04:02.000Z","updated_at":"2024-11-20T14:26:29.000Z","dependencies_parsed_at":"2022-08-18T17:52:20.110Z","dependency_job_id":null,"html_url":"https://github.com/ashrika786/api-testing-python","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/ashrika786%2Fapi-testing-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrika786%2Fapi-testing-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrika786%2Fapi-testing-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashrika786%2Fapi-testing-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashrika786","download_url":"https://codeload.github.com/ashrika786/api-testing-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821445,"owners_count":19371757,"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-rest","api-testing-framework","api-testing-python","http-request-test","http-requests","http-responce-code","postman","pycharm-ide","pytest","pytest-framework","python","python-tests","rest-api","rest-api-test-framework","test-automation"],"created_at":"2024-09-26T06:04:23.163Z","updated_at":"2025-10-23T11:31:14.461Z","avatar_url":"https://github.com/ashrika786.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003ePyRestAPITest\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e  \nThis application is built to do REST API testing using python scripts along with the use of Pytest module as our testing framework.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Demo\n![Page-Object-Model-Demo-Gif.gif](demo/pyrestapitest_demo.gif)\n\n\n## Languages, libraries and tools used\n\n* __[Python](https://www.python.org/downloads/)__\n* __[Pytest](https://docs.pytest.org/en/6.2.x/getting-started.html)__\n* __[Requests](https://docs.python-requests.org/en/master/)__\n* __[JsonPath](https://pypi.org/project/jsonpath/)__\n* __[Pycharm](https://www.jetbrains.com/pycharm/download/)__\n\nAbove Features are used to make code simple, generic, understandable, clean and easily maintainable for future development.\n\n## Installation\n\nInstall the dependencies and start the testing.\n\n __Install Pytest__:\n```sh\npip install -U pytest\n```\n __Install Requests__:\n```sh\npip install requests\n```\n\n __Install Json Path__:\n```sh\npip install jsonpath\n```\n## Automated tests\n\n__To run a test, you can simply write the following command on Terminal__:\n```sh\npytest\n```\n\n__To run and get details of all the executed test, you can simply write the following command on Terminal__:\n```sh\npytest -rA\n```\n\n__To run and generate full HTML details report of all the executed test, you can simply write the following commands on Terminal__:\n\n__But first install [Pytest-HTML](https://pypi.org/project/pytest-html/) by writing the following command on Terminal__\n```sh\npip install pytest-html\n```\n__Then write the following command on Terminal__\n```sh\npytest --html==YOUR_REPORT_FILE_NAME.html\n```\n\n__To see the reports, open the Project window, and then right-click then click on refresh then right-click on __StationReport.html__ to open the file on the default browser.__\n\n![Page-Object-Model-Demo-Gif.gif](demo/pyrestapitest-report-file.png)\n\n# Prerequisites\n* __Python__\n* __Any IDE__\n\n# Built With\n\n* __[Python](https://www.python.org/downloads/)__ - Language used to build the application.\n* __[Pycharm](https://www.jetbrains.com/pycharm/download/)__ - The IDE for writing Automation Test Scripts\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashrika786%2Fapi-testing-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashrika786%2Fapi-testing-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashrika786%2Fapi-testing-python/lists"}