Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Running the Tester from the Command Line

Running the Tester on the command line allows you to create test data templates, populate the test data files, and run tests.

To run the Tester on the command line, follow these steps:

Procedure
1. Run the following command.

       -tester generate

   This generates the test data template files, which are used for concepts, scorecards, and events for a given project directory.

   The test data template files are either in XLS or CSV format, as desired by the user, and are used to enter the test data. They have a project name, element relative path, external ID, column names, and so on.

   Note: Blank columns should be filled with NA.

   To generate a file in a specific format, see Command Line Options .

2. Enter the data manually in the generated template files.
3. Run the following command.

       -tester import

   This imports the data entered into test data files.

   `*.concepttestdata`

   and

   `*.eventtestdata`.

   These files are similar to the files saved by the Studio Tester when selecting Create Test Data.

4. Run the command

       -tester assert

   This starts an instance of the TIBCO BusinessEvents engine and asserts the test data generated in step 2 to the instance.

   After the assertion, the result data files are saved in an output directory that has to be provided in the user command-line options, and in one of these two formats:

   Default Format:
   It is either the XML format (default) or the HTML format (defined through the command-line option).
   Custom Format:
   Output is based on Types or Operation (such as Created, Modified, and Deleted).

   The default output is generated based on Operation.

   Command Line Options

Result

The `-tester` operation provides for the following commands:

- The Generate Command
- The Import Command
- The Assert Command

Subtopics

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.