When you test the write capability of the adapter, you test the components of the adapter and write sample data to the data source. After you specify the test settings and run the test, you can view the result of the write operation, write operation statistics, and the log file.
To debug the code, use the same debug configuration that you used to test the connection and metadata components of the adapter. You can also set breakpoints in the code that you want to debug.
After you define the debug configuration, you can launch the
dialog box to test the write capabilities of the adapter.
view, select the native metadata object that appears under
dialog box appears with the default JVM environment settings and tracing level. The Informatica Connector Toolkit uses the JVM settings to run the debug configuration.
If required, edit the JVM environment settings. Ensure that you use the same port number that appears in JVM settings for the connection properties in the debug configuration.
Select the required tracing level. The default is normal. Based on the amount of detail that you require in the log file, you can override the default tracing level.
You can set the following types of tracing level:
Does not override the default tracing level.
Logs initialization information and error messages and notification of rejected data.
Logs initialization and status information, errors encountered, and skipped rows due to transformation row errors. Summarizes mapping results, but not at the level of individual rows. This is the default tracing level.
In addition to normal tracing, logs additional initialization details, names of index and data files used, and detailed statistics.
In addition to verbose initialization tracing, logs each row. You can also get detailed statistics on where string data was truncated to fit the precision of a column.
The connection attributes that you defined for the adapter appears.
Enter values for the connection attributes to test the connection to the data source.
page appears with the metadata imported from the data source.
Select a native metadata object to test the write operation.
The metadata of the native metadata object along with the data type, scale, and precision appears in the
Select the columns to which you want to write data.
In the Test Data page, you can load test data from a file or you can generate test data.
To load the test data from a file, perform the following steps:
Load from a File
option. You must load a comma-delimited TXT file or CSV file.
The date and time data types in the file must have the following timestamp format: MM/DD/YYYY hh24:mm:ss
and select the file that contains the test data.
To generate test data, perform the following steps:
Auto generate data
Enter the number of rows to generate. You can specify a maximum of 1000 rows.
. The test data appears in the
If required, you can edit the test data that appears in the
After you load a test data file or generate test data, click
Specify values for the write capability attributes and then click
page appears. You can view the result of the write operation, write operation statistics, and the log file in the