{"id":18995322,"url":"https://github.com/testpointcorp/vansah-connect","last_synced_at":"2026-01-26T09:32:45.966Z","repository":{"id":219745557,"uuid":"687881081","full_name":"testpointcorp/vansah-connect","owner":"testpointcorp","description":"A Single Solution for all the CI/CD tools to send results to Vansah - Test Management tool for Jira","archived":false,"fork":false,"pushed_at":"2025-11-11T11:50:11.000Z","size":374,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-23T17:03:21.528Z","etag":null,"topics":[],"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/testpointcorp.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,"zenodo":null}},"created_at":"2023-09-06T07:45:47.000Z","updated_at":"2025-11-11T11:50:15.000Z","dependencies_parsed_at":"2024-01-29T15:10:17.956Z","dependency_job_id":"7cabb20b-a9af-4b37-86df-f5c6558972ae","html_url":"https://github.com/testpointcorp/vansah-connect","commit_stats":null,"previous_names":["testpointcorp/vansah-connect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testpointcorp/vansah-connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fvansah-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fvansah-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fvansah-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fvansah-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testpointcorp","download_url":"https://codeload.github.com/testpointcorp/vansah-connect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fvansah-connect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28772912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T08:38:24.014Z","status":"ssl_error","status_checked_at":"2026-01-26T08:38:22.080Z","response_time":59,"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":[],"created_at":"2024-11-08T17:29:59.333Z","updated_at":"2026-01-26T09:32:45.960Z","avatar_url":"https://github.com/testpointcorp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   \u003ca href=\"https://vansah.com\"\u003e\u003cimg src=\"https://vansah.com/wp-content/uploads/2021/07/256x256-3.png\" /\u003e\u003c/a\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003eA Single Solution for all the CI/CD tools to send Test results to Vansah Test Management for Jira\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://vansah.com/\"\u003e\u003cb\u003eWebsite\u003c/b\u003e\u003c/a\u003e •\n    \u003ca href=\"https://vansah.com/connect-integrations/\"\u003e\u003cb\u003eMore Connect Integrations\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n  - [Features](#features)\n  - [Prerequisite](#Prerequisite)\n  - [Installing](#installing)\n  - [Configuration](#Configuration)\n  - [Uploading Your Results](#Uploading-Your-Results)\n  - [Use of Custom Attributes](#Use-of-Custom-Attributes)\n  - [Adding results to a specific Test Case](#Adding-results-to-a-specific-Test-Case)\n\n## Features\n\n- Upload your TestNG🎉, 🔜 Junit, xunit🔜 and jtl/xml/csv🔜 to [`Vansah Test Management for Jira`](https://marketplace.atlassian.com/apps/1224250/vansah-test-management-for-jira?tab=overview\u0026hosting=cloud) \n- Easy to use as it is command line friendly.\n- Easy to Integrate with CI/CD tools such as Github Actions, Jenkins, Gitlab and so on.\n- Execute your Vansah Test Case in just [`one command`](#Adding-results-to-a-specific-Test-Case).\n\n\n## Prerequisite\n\n- Make sure that [`Vansah`](https://marketplace.atlassian.com/apps/1224250/vansah-test-management-for-jira?tab=overview\u0026hosting=cloud) is installed in your Jira workspace\n- You need to Generate Vansah [`connect`](https://help.vansah.com/en/articles/9824979-generate-a-vansah-api-token-from-jira) token to authenticate with Vansah APIs.\n- [Node.js](https://nodejs.org/en/download) version 18 should be installed in your machine.\n\n## Installing\n\nUsing npm (Install globally) as this is `command line` tool:\n\n```bash\n$ npm i -g @vansah/vansah-connect\n```\n\n## Configuration\n\n- Configure your Vansah `connect` Token. Use either of the following commands:\n    - Option 1: Replace \"Your Vansah `connect` Token\" with your actual token.\n    \n        ```bash\n            $ vansah-connect -c \"Your Vansah Connect Token\"\n        ```\n    - Option 2: If you have the token stored as a pipeline variable, you can use:\n            \n        ```bash\n            $ vansah-connect -c %YOUR-PIPELINE-VARIABLE%\n        ```\n- Configure your Vansah Jira Pinned location URL.( leave it blank to use default URL : `https://prod.vansah.com`)\n\n    \u003e Note : If your Jira instance is set to a specific location, the URL will be different. Update the URL by verifying it in the Vansah API Tokens section.\n\n    ```bash\n         $ vansah-connect -v \"https://prod\u003cYour Region code\u003e.vansah.com\"\n    ```\n\n## Uploading Your Results\n\nNow, it's time to effortlessly upload your test results to `Vansah Test Management for Jira` with a single command.\n\nReplace `./YOUR-TESTNG_FILEPATH.xml` with the actual file path to your TestNg file\n\n```bash\n$ vansah-connect -f ./YOUR-TESTNG_FILEPATH.xml\n```\n\n\n\u003e **Note** : Set up your `TestNG` file to include [`custom attributes`](#Use-of-Custom-Attributes) for each of your test functions. This way, after running the automation suite, all test methods will have sufficient information to log the results into `Vansah Test Management for Jira`.\n\n## Use of Custom Attributes\n\nIn Vansah, the determination of whether a test should pass or fail relies on the utilization of custom attribute annotations\n\n```java\n/**\n * Example\n * This is a test method for performing an addition operation.\n *\n * Custom Attributes:\n * - Case Key (Mandatory): \"DOT-C1\"\n * - Tested Issue (Mandatory): \"DOT-1\"\n * - Tested Sprint: \"DOT Sprint 1\"\n * - Tested Environment: \"SYS\"\n */\n@Test(attributes = {\n\t\t      @CustomAttribute(name = \"Case Key\", values = \"DOT-C1\"),\n\t\t      @CustomAttribute(name = \"Tested Issue\", values = \"DOT-1\"),\n\t\t      @CustomAttribute(name = \"Tested Sprint\", values = \"DOT Sprint 1\"),\n\t\t      @CustomAttribute(name = \"Tested Environment\", values = \"SYS\")})\n\tpublic void Addition_Test() {\n\t\t\n\t\tint a = 3 , b = 2;\n\t\tint sum = a + b ;\n\t\tSystem.out.println(\"Addition of Two numbers are : \" + sum);\n\t\n\t\tAssert.assertEquals(sum, 5);\n\t\t\n\t}\n\t\n```\n\u003e **Note** : Modifying the name values is not possible as they are constant and case-sensitive\n   \n   \n   \n## Adding results to a specific Test Case\n\nIf you want to upload results directly to a particular test case follow below command\n\n```bash\n/**\n* -t \u003cTestCaseKey\u003e \n* -s \u003cpassedOrFailed\u003e\n* -a \u003cIssueKeyorTestFolderID\u003e\n**/\n$ vansah-connect -t \"PVT-C500\" -s \"passed\" -a \"PVT-4\"\n```\n\nUpon successful execution, you'll receive a reassuring message\n\n```bash\nA new Test Run created.\n```\nAnd that's it! With vansah-connect, you've streamlined the integration of your automation test results into Vansah, making your testing and test management process even more efficient and seamless.\n\n## Developed By\n\n[Vansah](https://vansah.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fvansah-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestpointcorp%2Fvansah-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fvansah-connect/lists"}