The Vansah API Binding for Java enables Java-based automation frameworks to integrate directly with Vansah. It allows your automation framework such as Selenium, JUnit, and Cucumber to automatically send test results, logs, and metrics to Vansah’s API.
Supported Java test stacks
The Java binding works with:
Selenium
Playwright (Java)
JUnit
TestNG
Cucumber
Maven-based test frameworks
Why Use Vansash Java binding ?
Seamless Integration: Link Java-based test results directly to Jira test cases. |
|
Automation Ready: Works out of the box with popular frameworks (Selenium, JUnit, TestNG, Cucumber). |
|
Secure & Reliable: Built on Vansah’s latest REST API for stability and performance. |
|
Open Source: Available on GitHub for transparency and contribution. |
|
Try Vansah Java Binding
Clone the project into your space
Generate a Vansah Token
Get Your Vansah API URL
Run your automated test and get the result automatically in Vansah
Prerequisites (Java)
Before using the Java binding:
Vansah installed in your Jira workspace
A valid Vansah Connect token
Java JDK 8+
Maven-based project (recommended)
Installation
1. Add Maven dependencies
Add the required dependencies to your pom.xml:
org.apache.commons:commons-lang3com.mashape.unirest:unirest-java
These libraries handle HTTP communication and utilities used by the Vansah client.
2. Add the Vansah Java client
Copy the VansahNode.java file from the repository into your test project.
Typical location:
src/test/java/...
This class acts as the execution bridge between your test framework and Vansah.




