Executed only when the log level is FINFO or lower. Not executed when the log level is INFO or higher. When you do not want it to be executed in operation phase, set the log level to INFO or higher.
For details on use of variables, refer to “Variables”.
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name to show on the script canvas. | |
| Input data | Required | Not available | Select a component on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Assert condition | Required | Not available | Select an assertion condition.
|
|
| Expected XML | Required | Available | Enter the expected XML data. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Raise assertion exception when the order differs | Optional | Not available | Select whether or not to raise an assertion exception when the order of elements existing in the same path as XML differs.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
| Component variable name | Description | Remarks |
|---|---|---|
| message_category | When an error occurs, the corresponding message code's category is stored. |
|
| message_code | When an error occurs, the corresponding message code is stored. |
|
| message_level | When an error occurs, the corresponding message code's severity is stored. |
|
| error_type | When an error occurs, the error type is stored. |
|
| error_message | When an error occurs, the error message is stored. |
|
| error_trace | When an error occurs, the error's trace information is stored. |
|
| Exception name | Cause | Solution |
|---|---|---|
| InputDataNotFoundException | [Input data] is not specified. | Specify [Input data] or draw data flow. |
| InvalidPropertyConfigurationException | [Expected XML] is not specified. | Specify [Expected XML]. |
| AssertionException | Assertion failed. | Check whether [Input data] matches [Expected XML] or not. |