Test an Operation

You get the Test Operation window when you select the operation from the tree and choose Edit->Test from the menu bar.

Once an operation is exported you can test it. If the test fails and editing is required to fix the operation, you do not have to unexport the operation prior to editing.

(For more detailed information on testing operations refer to the topic Testing an Operation. For more information on how to edit objects, refer to the sections on "modifying" various types of objects in the Tasks topic.)

Fields

The following table explains the fields on this window.

Table 7-15 Test Operation

Field Description

Operation

Specifies the name of operation that you selected to be tested.

TUXEDO Service

Specifies the name of the associated BEA TUXEDO service.

Input Buffer and Output Buffer

All buffer types are supported.

VIEW - a C-structure and 16-bit integer field. Contains subtypes that have a particular structure.

VIEW32 - similar to VIEW, except 32-bit FML field identifiers are associated with VIEW32 structure elements.

CARRAY - an array of interpreted binary data that is neither encoded nor decoded during transmission; it may contain null characters. X_OCTET is equivalent.

FML - a type in which each field carries its own definition.

FML32 - similar to FML, except 32-bit field identifiers are associated with FML32.

STRING - a character array terminated by a null character that is encoded or decoded.

NONE - placeholder indicating that no input or output is required.

Parameter text fields

The parameter information text entry field. The fields that display in the test window are dependent on the operation you are testing. Based on the passing mode, these fields are writable or read-only. Fields are disabled if read-only.

OK

Runs the operation.

Clear

Clears all fields and resets the scrollbar to the top (if a scrollbar is present).

Cancel

Exits the window.

Buttons

When you have modified the fields, click OK to save your changes and close the window. (Or click Cancel to close the window without saving your changes).

See Also

Testing an Operation