{"id":18995337,"url":"https://github.com/testpointcorp/katalon-vansah","last_synced_at":"2026-06-22T19:02:05.187Z","repository":{"id":232344403,"uuid":"782421414","full_name":"testpointcorp/katalon-vansah","owner":"testpointcorp","description":"This tutorial guides you through the process of integrating Katalon WebUI tests with Vansah Test Management for Jira to automatically send test case results.","archived":false,"fork":false,"pushed_at":"2026-06-02T01:44:13.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"prod","last_synced_at":"2026-06-02T03:21:57.669Z","etag":null,"topics":["automation","automation-framework","katalon-studio","webuitest"],"latest_commit_sha":null,"homepage":"https://vansah.com/connect-integrations/","language":"Groovy","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}},"created_at":"2024-04-05T09:11:04.000Z","updated_at":"2026-06-02T01:44:17.000Z","dependencies_parsed_at":"2024-04-16T21:52:57.196Z","dependency_job_id":"b2590566-c917-4882-b8b2-1e2ff966f84c","html_url":"https://github.com/testpointcorp/katalon-vansah","commit_stats":null,"previous_names":["testpointcorp/katalon-vansah"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testpointcorp/katalon-vansah","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fkatalon-vansah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fkatalon-vansah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fkatalon-vansah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fkatalon-vansah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testpointcorp","download_url":"https://codeload.github.com/testpointcorp/katalon-vansah/tar.gz/refs/heads/prod","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testpointcorp%2Fkatalon-vansah/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34661709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["automation","automation-framework","katalon-studio","webuitest"],"created_at":"2024-11-08T17:30:01.800Z","updated_at":"2026-06-22T19:02:05.181Z","avatar_url":"https://github.com/testpointcorp.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Katalon Integration with Vansah Test Management for Jira\n\nThis tutorial guides you through the process of integrating Katalon WebUI tests with Vansah Test Management for Jira. Integrating Katalon with Vansah will allow you to send Test Case results from Katalon to your Jira workspace.\n\nBy following this setup, you can streamline your testing workflow, ensuring that test outcomes are recorded directly in your Jira workspace.\n\n## Prerequisites\n- **Katalon** WebUI test project is already setup.\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## Configuration\n**Setting Environment Variables** - Store your Vansah API token as an environment variable for security. \n\nFor Windows (use cmd)\n```cmd\nsetx VANSAH_TOKEN \"your_vansah_api_token_here\"\n\n```\nFor macOS\n```bash\necho export VANSAH_TOKEN=\"your_vansah_api_token_here\" \u003e\u003e ~/.bash_profile\n\nsource ~/.bash_profile\n\n```\nFor Linux (Ubuntu, Debian, etc.)\n```bash\necho export VANSAH_TOKEN=\"your_vansah_api_token_here\" \u003e\u003e ~/.bashrc\n\nsource ~/.bashrc\n\n``` \n## Implementation\n\nTo enable Vansah integration in any WebUI Katalon project, follow these steps:\n\n1. **Place the VansahBinding.java File**: Ensure that [`VansahBinding.java`](/Include/scripts/groovy/VansahBinding.java) is located in the `Include/scripts/groovy` directory of your project.\n\n2. **Add the Vansah Test Listener**: Add or Create **@AfterTestCase** listener so that after running each Test Case we can send the test results of the same test Case to Vansah.\n\n   Ex: [`VansahListeners.groovy`](Test%20Listeners/VansahListeners.groovy)\n   ```groovy\n      import com.kms.katalon.core.annotation.AfterTestCase\n      import com.kms.katalon.core.context.TestCaseContext\n\n      import VansahBinding;\n\n      class VansahListeners {\n        /**\n         * Executes after every test case ends to send results to Vansah.\n         * @param testCaseContext Context of the executed test case.\n         */\n        @AfterTestCase\n        def AfterTestCase(TestCaseContext testCaseContext) {\n        \n            // Retrieve Test Case and Asset details\n            def vansahData = testCaseContext.getTestCaseVariables()\n            def testCaseKey = vansahData.get(\"TestCaseKey\")\n            def assetKey = vansahData.get(\"Asset\")\n        \n            VansahBinding vb = new VansahBinding();\n            vb.sendResultstoVansah(testCaseKey, assetKey, testCaseContext.getTestCaseStatus());\n        }\n      }\n\n\t\t\n    \t}\n      }\n   ```\n\n4. **Configure Test Run Properties**: Modify `Profiles/default.glbl` with your specific Vansah URL and test run properties to ensure proper configuration and communication with Vansah.\n    ![VansahVariablesinDefaultProfile](/Asset/default_profile.png)\n    \n    OR\n    \n    Copy and Paste below script to your default profile, include inside `\u003cGlobalVariableEntities\u003e`\n    \n    ```xml\n    \u003cGlobalVariableEntity\u003e\n      \u003cdescription\u003eRequired : Obtain your Vansah Connect URL from Vansah Settings \u003e Vansah API Tokens \u003c/description\u003e\n      \u003cinitValue\u003e'https://prod.vansah.com'\u003c/initValue\u003e\n      \u003cname\u003eVansah_URL\u003c/name\u003e\n   \u003c/GlobalVariableEntity\u003e\n   \u003cGlobalVariableEntity\u003e\n      \u003cdescription\u003eOptional : Provide your Sprint Name\u003c/description\u003e\n      \u003cinitValue\u003e'SM Sprint 1'\u003c/initValue\u003e\n      \u003cname\u003eSprintName\u003c/name\u003e\n   \u003c/GlobalVariableEntity\u003e\n   \u003cGlobalVariableEntity\u003e\n      \u003cdescription\u003eOptional : Provide your Release Name\u003c/description\u003e\n      \u003cinitValue\u003e'Release 24'\u003c/initValue\u003e\n      \u003cname\u003eReleaseName\u003c/name\u003e\n   \u003c/GlobalVariableEntity\u003e\n   \u003cGlobalVariableEntity\u003e\n      \u003cdescription\u003eOptional : Provide your Environment Name\u003c/description\u003e\n      \u003cinitValue\u003e'UAT'\u003c/initValue\u003e\n      \u003cname\u003eEnvironmentName\u003c/name\u003e\n   \u003c/GlobalVariableEntity\u003e\n    ```\n\n5. **Prepare Test Cases**: Incorporate test case and asset details directly within your Katalon test case files. This step ensures that all necessary information for Vansah reporting is readily available.\n\n    ![VansahTestCaseandAssetDetails](/Asset/testCaseandAssetdetails.png)\n\n## Conclusion\n\nBy following the above steps, your Katalon project will be equipped to send test run results directly to Vansah, streamlining your testing and reporting process. \n\nEnsure that all files are placed and configured as described to facilitate successful integration.\n\nFor more details on Katalon, visit the [Test Fixtures and Test Listeners in Katalon Studio](https://docs.katalon.com/katalon-studio/create-test-cases/test-fixtures-and-test-listeners-test-hooks-in-katalon-studio). \n\nFor Vansah specific configurations and API details, please refer to the [Vansah API documentation](https://apidoc.vansah.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fkatalon-vansah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestpointcorp%2Fkatalon-vansah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestpointcorp%2Fkatalon-vansah/lists"}