{"id":17545934,"url":"https://github.com/charlyautomatiza/starter-postman-newman","last_synced_at":"2026-02-19T00:03:57.331Z","repository":{"id":42060382,"uuid":"453124727","full_name":"charlyautomatiza/starter-postman-newman","owner":"charlyautomatiza","description":"Creamos en vivo un starter project para ejecutar Collections de Postman tanto locales como Cloud mediante Newman.","archived":false,"fork":false,"pushed_at":"2022-12-02T23:45:31.000Z","size":97,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T04:42:20.112Z","etag":null,"topics":["apitesting","postman","postman-collection","postman-example","postman-newman","postman-test"],"latest_commit_sha":null,"homepage":"https://linktr.ee/charlyautomatiza","language":"TypeScript","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/charlyautomatiza.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":"2022-01-28T15:47:29.000Z","updated_at":"2024-02-07T17:41:41.000Z","dependencies_parsed_at":"2023-01-22T23:01:04.976Z","dependency_job_id":null,"html_url":"https://github.com/charlyautomatiza/starter-postman-newman","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/charlyautomatiza/starter-postman-newman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlyautomatiza%2Fstarter-postman-newman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlyautomatiza%2Fstarter-postman-newman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlyautomatiza%2Fstarter-postman-newman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlyautomatiza%2Fstarter-postman-newman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlyautomatiza","download_url":"https://codeload.github.com/charlyautomatiza/starter-postman-newman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlyautomatiza%2Fstarter-postman-newman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29599338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["apitesting","postman","postman-collection","postman-example","postman-newman","postman-test"],"created_at":"2024-10-21T01:25:26.952Z","updated_at":"2026-02-19T00:03:57.311Z","avatar_url":"https://github.com/charlyautomatiza.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.twitch.tv/charlyautomatiza\"\u003e\u003cimg alt=\"Twitch\" src=\"https://img.shields.io/badge/CharlyAutomatiza-Twitch-9146FF.svg\" style=\"max-height: 300px;\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/wwM9GwxmRZ\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/944608800361570315\" style=\"max-height: 300px;\"\u003e\u003c/a\u003e\n  \u003ca href=\"http://twitter.com/char_automatiza\"\u003e\u003cimg src=\"https://img.shields.io/badge/@char__automatiza-Twitter-1DA1F2.svg?style=flat\" style=\"max-height: 300px;\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/channel/UCwEb6xrQtQCEuN_gNgi_Xfg?sub_confirmation=1\"\u003e\u003cimg src=\"https://img.shields.io/badge/Charly%20Automatiza-Youtube-FF0000.svg\" style=\"max-height: 300px;\" style=\"max-height: 300px;\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/gautocarlos/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Carlos%20 Gauto-LinkedIn-0077B5.svg\" style=\"max-height: 300px;\" style=\"max-height: 300px;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ca href=\"https://www.postman.com/\"\u003e\u003cimg src=\"https://assets.getpostman.com/common-share/postman-logo-horizontal-320x132.png\" /\u003e\u003c/a\u003e\u003cbr /\u003e\n\n## Starter project creado en vivo en [Stream de Twitch](https://www.twitch.tv/charlyautomatiza) basado en [Postman](https://www.postman.com/), [Newman](https://www.npmjs.com/package/newman), [NodeJS](https://nodejs.org/es/) y [TypeScript](https://www.typescriptlang.org/)\n\n## Tabla de contenidos\n\n### Requerimientos generales\n\n- Instalar [Node.js](https://nodejs.org/es/download/)\n- Instalar algún cliente git como por ejemplo [git bash](https://git-scm.com/downloads)\n- Instalar [Newman](https://www.npmjs.com/package/newman) de manera global.\n\n    ```bash\n    npm install -g newman\n    ```\n\n### Instalación del framework de pruebas\n\n#### **Clonar el repositorio:**\n\n```bash\ngit clone https://github.com/charlyautomatiza/starter-postman-newman.git\n```\n\n#### **Instalar las dependencias.**\n\nnpm install\n\n#### **Para la ejecución de los test**\n\n```bash\nnpm run test\n```\n\n#### **Los reportes de ejecución quedan en la carpeta newman y se borran ante cada nueva ejecución**\n\n```bash\ncd newman\nls\n```\n\n#### **Para ejecutar con tus propias collections basta con modificar el require en el archivo [main.ts](./src/main.ts) de la opción \"collection\"**\n\n```Typescript\n// Runner collection local\nnewman.run({\n    collection: require('./collections/yourCollectionName.json'),\n    reporters: reporters,\n}, function (err: Error | null) {\n    if (err) { throw err; }\n    console.log('Collection run complete!');\n});\n```\n\n```Typescript\n// Runner collection Cloud\nnewman.run({\n    collection: 'https://www.getpostman.com/collections/YourCollectionID',\n    reporters: reporters,\n}, function (err: Error | null) {\n    if (err) { throw err; }\n    console.log('Cloud collection run complete!');\n});\n```\n\n#### **Para agregar o quitar tipos de reportes basta con modificar la constante reports del archivo [main.ts](./src/main.ts) de la opción \"collection\"**\n\n```Typescript\n// List of reports\nconst reports = ['junit', 'cli', 'progress', 'json'];\n```\n\n#### **Aclaración sobre Cloud Collections**\n\nPara poder ejecutar las collections desde la nube debes tener una cuenta de [Postman](https://www.postman.com/).\n\nDeberás exportar tu collection en la nube y obtener el ID de la collection mediante.\n\n- Seleccionar la opción **\"Share\"**.\n- Seleccionar **\"Vía JSON link\"**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlyautomatiza%2Fstarter-postman-newman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlyautomatiza%2Fstarter-postman-newman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlyautomatiza%2Fstarter-postman-newman/lists"}