Compare File
Operation name
Compare File
Function overview
Compares a file with another file as binary, and when it doesn't match, throws an assertion exception.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Subject file |
Required |
Available |
Enter the path of the subject file to compare. |
Note
|
Object file |
Required |
Available |
Enter the path of the object file to compare. |
Note
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error 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 trace information for the error is stored. |
|
Specification limits
None.
Exception name |
Cause |
Solution |
---|---|---|
InvalidPropertyConfigurationException File path is not entered. |
Subject file or Object file isn't specified. |
Specify Subject file and Object file. |
FileIsDirectoryException |
The path entered in Subject file or Object file is a directory. |
Enter file paths in Subject file and Object file. |
java.io.FileNotFoundException |
The file specified in Subject file or Object file doesn't exist. |
Check Subject file and Object file. |
AssertionException |
Subject file and Object file are different. |
Check the error message. |