Skip to main content
All CollectionsAPI & Integrations
TestNG – /testCase/import/XML
TestNG – /testCase/import/XML
Updated over 3 months ago

TestNG is a popular testing framework for Java applications, known for its flexibility and extensive features. By integrating XML TestNG with Vansah, you can harness the full potential of TestNG while leveraging the comprehensive test management capabilities of Vansah.

This integration eliminates the need for manual test case management and provides a centralized platform for your testing activities.

POST /testCase/import/XML 
Imports a XML TestNG file from from your TestNG framework
Request 
BODY PARAMETERS JSON format

testFormat

- TestNG
Required: Valid type for testing framework and support TestNG testPaths Required: Valid XML file generated by your TestNG framework

Purpose of this API Endpoint is to send a TestNG Report Test File (*.xml) from your Automation project to Vansah for Jira.

These test report files produced by your TestNG frameworks will contain test case results (data) that are required to be consumed by the new API and processed by Vansah for Jira.

Sample XML file for TestNG

Did this answer your question?