Skip to main content

Export Data

How to export test cases and their executions from Vansah?

Updated over 2 months ago

Overview

Exporting Test Cases along with their execution details from Vansah is commonly required for:

  • Reporting and analytics

  • Migration to external tools

  • Backup and archival

  • BI dashboards

  • Automation pipelines

Because execution data in Vansah is contextual (Requirement / Folder / Test Plan based), exporting complete data requires calling multiple APIs and aggregating responses.


Export Project Settings and Configuration

API Name

Endpoint

Purpose

Postman Request

List Case Types

GET /category/caseTypes

Retrieves the available test case types configured for a specific Vansah project.

List Test Result Names

GET /project/testResultSettings

Retrieves the Test result names used in Vansah for all Projects

List Misc Settings

GET /project/miscSettings

Retrieves miscellaneous settings and configuration details for a specific Vansah project in Jira.

List Projects

GET /projects

Returns a list of projects from Vansah.

List Test Case Status

GET /category/testCaseStatuses

Retrieves the available test case status configured for a specific Vansah project.


Export Test Cases and Executions

API Name

Endpoint

Purpose

Postman Request

List Test Cases

GET /testCases

Retrieves test cases based on the provided query parameters.

List Test Folders

GET /testFolders

Retrieves the test folder tree structure (test repository hierarchy) from Vansah.

List Test Runs

GET /runs

Retrieves a paginated list of test runs from Vansah.

Get Test Run Details

GET /run/:runId/details

Retrieves detailed information about a specific test run in Vansah.

Get Test Run History

GET /run/:runId/history

Retrieves the execution history for a specific test run in Vansah.

Get Test Case History

GET /testCase/:testCaseIdentifier/history

Retrieves the history of a specific test case.

Get Test Plan Folders

GET /testplan/folders

Retrieves the test plan folder hierarchy (tree structure) from Vansah.

Get All Test Case Steps

GET /testCase/list/testScripts

Returns a list of test scripts for a test case

Need help? Unable to locate the required API? Please raise a request with our support team through the following Vansah Support Portal.

Did this answer your question?