Skip to content

TargetProcess CSV file Migration

Configuration file example

Create the JSON file with content like:

json

{
  "type": "targetprocess-csv",
  "debug": true,
  "oneByOne": false,
  "allureConfig": {
    "endpoint": "https://demo.testops.cloud/",
    "token": "73c54dba-4a77-4a2a-b8eb-b1aa5454ed90",
    "sslTrustAll": true,
    "projectId": 7,
    "migrationTagPrefix": "targetprocess",
    "folderCfPrefix": "Folder",
    "createOwner": true
  },
  "filesConfig": {
    "path": "/Users/user/path/New.List.1.csv"
  },
  "targetProcessCsvConfig": {
    "projectIds": [220752],
    "withTargetProcessIdCf": true,
    "withDefaultOwner": "accountName",
    "customFields": {
      "Project/Product": "Project/Product",
      "TestStructure": "TestStructure"
    }
  }
}

Configuration parameters

NameMandatoryDescriptionExample
commonPropertiesyessee description here:
Common properties
allureConfigyessee description here:
Allure TestOps properties
filesConfig.pathyesAbsolute path to XML file with TestLink exportC:/path/to/file/TestCases.xml
or
/path/to/file/exampletest.xml
targetProcessCsvConfig.projectIdsnoIf you want to migrate part of the cases to a specific TestOps project, use this property[123, 432, 543]
targetProcessCsvConfig.withTargetProcessIdCfnoIf you want to have a custom field in TestOps with TargetProcessId, use this flagusername
targetProcessCsvConfig.withDefaultOwnernoIf you want to set a default owner for test cases in TestOps, make sure that the user with the specified username existsfalse
targetProcessCsvConfig.customFieldsnoA list of fields that need to be migrated to Allure as custom fields.
Structure: "csv_header": "Allure_custom_field_name"
{"Project/Product": "Project/Product", "TestStructure": "TestStructure"}

Last updated: