{"id":15661684,"url":"https://github.com/zeroc0d3/json-postman","last_synced_at":"2026-05-01T12:31:21.273Z","repository":{"id":70352702,"uuid":"74002591","full_name":"zeroc0d3/json-postman","owner":"zeroc0d3","description":"JSON (JavaScript Object Notation) Automation Test Case via Postman","archived":false,"fork":false,"pushed_at":"2016-11-19T23:02:01.000Z","size":154,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T01:56:23.070Z","etag":null,"topics":["json","json-postman","json-schema","newman","postman","runner","test-automation","zeroc0d3","zeroc0d3lab"],"latest_commit_sha":null,"homepage":"","language":null,"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/zeroc0d3.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":"2016-11-17T07:42:00.000Z","updated_at":"2018-02-06T06:52:29.000Z","dependencies_parsed_at":"2023-02-22T00:15:20.640Z","dependency_job_id":null,"html_url":"https://github.com/zeroc0d3/json-postman","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zeroc0d3/json-postman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fjson-postman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fjson-postman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fjson-postman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fjson-postman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroc0d3","download_url":"https://codeload.github.com/zeroc0d3/json-postman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fjson-postman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["json","json-postman","json-schema","newman","postman","runner","test-automation","zeroc0d3","zeroc0d3lab"],"created_at":"2024-10-03T13:28:59.996Z","updated_at":"2026-05-01T12:31:21.243Z","avatar_url":"https://github.com/zeroc0d3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-postman\nJSON Automation Test Case via Postman\n\n## Abstract\n### Why Validate Data as a Separate Step?\n\t* to fail fast\n\t* to avoid data corruption\n\t* to simplify processing code\n\t* to use validation code in tests\n\t\t\n### Why JSON (and not XML)?\n\t* as wide adoption as XML\n\t* easier to process and more concise than XML\n\t* dominates web development because of JavaScript\n\n### Why Use Schemas?\n\t* declarative\n\t* easier to maintain\n\t* can be understood by non-coders\n\t* no need to write code, third party open-source libraries can be used\n\n### Why JSON-Schema?\n\t* the widest adoption among all standards for JSON validation\n\t* very mature (current version is 4, there are proposals for version 5)\n\t* covers a big part of validation scenarios\n\t* uses easy-to-parse JSON documents for schemas\n\t* platform independent\n\t* easily extensible\n\t* 30+ validators for different languages, including 10+ for JavaScript, so no need to code it yourself\n\t\n### Why Using This Repo (zeroc0d3/json-postman)?\n\t* tested result\n\t* easy to learn from simple to complex condition\n\t* using schema references to validate the response\n\t* using external library PostmanBDD not only TinyValidator (tv4)\n\n## Installation\n1. Install postman.\n2. Install tv4 (Tiny Validator).\n   * npm install tv4\n3. Install ajv (Another JSON Schema Validator).\n   * npm install ajv\n4. Copy \u0026 paste the testcase script on tab \"test\" postman.\n5. Done.\n\t\n## Runner Postman\n1. Import the collection in folder \"collection\", or\n2. Download ZeroC0D3 Collection :\n   https://www.getpostman.com/collections/7f63ef54d405bfe2f1db\n3. Click \"Runner\" button and select the \"ZeroC0D3 TestCase API\",\n4. Click \"Start Runner\" button.\n5. Done.\n\n## Using Newman\n1. Download test result \"ZeroC0D3_Result.json\" in folder \"collection\".\n2. Install newman\n   * npm install -g newman\n3. Open your terminal / command,\n4. Running newman command\n   * newman -c ZeroC0D3_Result.json \t\n5. Done.\n   \n## References\n1. http://blog.getpostman.com/2014/03/07/writing-automated-tests-for-apis-using-postman/\n2. http://blog.getpostman.com/2014/04/17/how-to-write-automated-tests-for-apis-with-postman-part-2/\n3. https://github.com/geraintluff/tv4\n4. http://geraintluff.github.com/tv4/\n5. https://github.com/BigstickCarpet/postman-bdd\n6. https://spacetelescope.github.io/understanding-json-schema/structuring.html\n7. http://chaijs.com/plugins/chai-json-schema/\n8. https://code.tutsplus.com/tutorials/validating-data-with-json-schema-part-1--cms-25343\n9. https://code.tutsplus.com/tutorials/validating-data-with-json-schema-part-2--cms-25640\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroc0d3%2Fjson-postman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroc0d3%2Fjson-postman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroc0d3%2Fjson-postman/lists"}