{"id":20795315,"url":"https://github.com/sadmanpieal/transaction-api-testing","last_synced_at":"2026-04-24T14:35:42.263Z","repository":{"id":251381281,"uuid":"837251619","full_name":"sadmanpieal/Transaction-API-Testing","owner":"sadmanpieal","description":"This repository contains automated tests for Transaction API, covers major endpoints like create, update, retrieve \u0026 delete user.The tests include actions like depositing to agent, cash-In/cash-out to customers,making payments to merchants \u0026 Checking balance.These tests are developed using Postman \u0026 Newman ensuring validation of API's functionality","archived":false,"fork":false,"pushed_at":"2024-08-21T16:02:31.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T01:34:34.343Z","etag":null,"topics":["api","automation","newman-reporter","postman"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sadmanpieal.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":"2024-08-02T14:33:52.000Z","updated_at":"2024-08-21T16:25:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"93db400f-dd00-4eec-898f-c3dc6d4d4fdd","html_url":"https://github.com/sadmanpieal/Transaction-API-Testing","commit_stats":null,"previous_names":["sadmanpieal/transaction-api-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sadmanpieal/Transaction-API-Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FTransaction-API-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FTransaction-API-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FTransaction-API-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FTransaction-API-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadmanpieal","download_url":"https://codeload.github.com/sadmanpieal/Transaction-API-Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FTransaction-API-Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32227816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","newman-reporter","postman"],"created_at":"2024-11-17T16:21:01.609Z","updated_at":"2026-04-24T14:35:42.238Z","avatar_url":"https://github.com/sadmanpieal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transaction API Testing\n\nThis repository contains automated tests for the Transaction API. The tests are crafted using Postman and executed with Newman, ensuring comprehensive coverage and reliability of the API endpoints.\n\n## Table of Contents\n- [Overview](#overview)\n- [API Endpoints Covered](#api-endpoints-covered)\n- [Tools Used](#tools-used)\n- [Setup Instructions](#setup-instructions)\n- [Running the Tests](#running-the-tests)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nThe Transaction API provides a set of endpoints for managing financial transactions, including creating, updating, retrieving, and deleting transactions. This project automates the testing of these endpoints to ensure the API's functionality, reliability, and consistency.\n\n## API Endpoints Covered\n\nThe following API endpoints are covered in the automation:\n\n### Transactions\n- `GET /transactions`: Retrieve a list of all transactions.\n- `GET /transactions/:id`: Retrieve the details of a specific transaction.\n- `POST /transactions`: Create a new transaction.\n- `PUT /transactions/:id`: Update an existing transaction.\n- `DELETE /transactions/:id`: Delete a transaction.\n\nFor detailed API documentation, refer to the Postman documentation [here](https://documenter.getpostman.com/view/37031452/2sA3rwLZSM).\n\n## Tools Used\n\n- **Postman**: Used for creating, organizing, and running the API test cases.\n- **Newman**: A command-line tool used to run Postman collections in various environments and integrate them into CI/CD pipelines.\n\n## Setup Instructions\n\n### Prerequisites\n- **Node.js** installed on your machine.\n- **Newman** installed globally:\n  ```bash\n  npm install -g newman\n  ```\n- **Postman** installed for running and modifying the collections.\n\n### Cloning the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/sadmanpieal/Transaction-API-Testing.git\ncd Transaction-API-Testing\n```\n\n## Running the Tests\n\nTo run the tests using Newman, use the following command:\n\n```bash\nnewman run Transaction-API.postman_collection.json\n```\n\nThis command will execute the entire suite of tests against the Transaction API.\n\n### Running with HTML Report\n\nIf you wish to generate an HTML report after running the tests, use:\n\n```bash\nnewman run Transaction-API.postman_collection.json -r html --reporter-html-export newman-report.html\n```\n\nThe report will be saved as `newman-report.html`.\n\n![Screenshot 2024-08-02 195447](https://github.com/user-attachments/assets/9e3eb57b-b6cb-4310-97aa-8dfeff808d91)\n\n##Test Report https://docs.google.com/spreadsheets/d/1E29MZSOyZaeVR97Q3cnHiEBf8x-GJHDQ/edit?gid=1581453724#gid=1581453724\n\n##Bug Report \nhttps://docs.google.com/spreadsheets/d/1Jb6S90nTIfhPxPG23Om_8bcPWzQ7DUso/edit?gid=1600159292#gid=1600159292\n\n\n## Project Structure\n\nThe repository is structured as follows:\n\n```\nTransaction-API-Testing/\n│\n├── Transaction-API.postman_collection.json   # Postman collection file containing all API requests and tests.\n├── newman/                                   # Folder containing Newman reports and other artifacts (if applicable).\n└── README.md                                 # Project documentation (this file).\n```\n\n## Contributing\n\nIf you would like to contribute to this project, please fork the repository and submit a pull request. All contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Ftransaction-api-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadmanpieal%2Ftransaction-api-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Ftransaction-api-testing/lists"}