Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# The Import Command

The command `import` reads the CSV data files and converts them to the appropriate test data format (such as `.concepttestdata`, `.eventtestdata`).

## Syntax

     studio-tools -tester import [-h] [-x] -i <inputFile -p <projectDirectory[-o <outputDirectory] [-t < xls | xlsx | csv] [-s <separator]

## Options

The following options are used with the command `import`:

Option | Description
--- | ---
-i | Required. Sets the input path, which is a path to a directory containing test data template files, a single test data template file, or a path to `Listfile` containing paths of files that must be included for test data generation.
-h | Optional. Prints usage help.
-o | Optional. Specifies the output path.
-p | Required. Specifies the project path.
-t | Optional. Specifies the output file type. Supported values are `xls`, `xlsx`, and `csv`. If this option is not specified, the output is in CSV format with a comma (,) as a column separator.
-s | Optional. Used only when the output file type is CSV to specify a column separator. The supported values are `[,]`. If not specified, the default column separator is comma (,).
-a | Optional. Appends test data to existing test data with the same name (if present).
-x | Optional. Removes the `TestData` root from under the output directory. If it exists, it creates a one.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.