Test a cleanse asset instance to verify that the data flows through the instance in the ways that you expect. You test a single cleanse instance at a time.
1Open the cleanse asset.
2Select the Configuration tab, and select an instance.
3Select a step in the step sequence that you configured in the instance.
The test will run from the first step in the sequence through the step that you select. To test all steps in the instance, select the final step.
Note: If any step that you select includes a dictionary, the Secure Agent downloads all of the dictionaries that the asset specifies when you run the test.
4 Select a Secure Agent to run the test.
To refresh the list of active Secure Agents, click the Refresh icon.
5Enter data values in the test panel, or import the data to test. To import the data, click the Import option in the test panel.
Note: Configure the asset as completely as you can before you enter or import the test data. The asset may discard your test data if you make further changes to the configuration.
The Output column displays the test results. The results represent the application of the step logic in the sequence that the instance specifies.
7Verify that the steps read the input values and write the output values that you expect.
You can sort and filter the test data, and you use the Find feature to search for values in the test data.
8Optionally, repeat the steps to test other instances in the asset.
Rules and guidelines for test data
You can import data to the test panel in the cleanse asset and save the test data in the asset configuration.
Consider the following rules and guidelines when you import or enter test data:
•The import option supports CSV and Microsoft Excel files.
• You can import up to 200 consecutive rows of data from a delimited file. You can specify the row at which the import starts.
Note: Before you import, check the file for column headings. If the first row in the import file contains column headings, start the import at line 2 or lower.
•The Maximum string length property applies to the data in the test panel in addition to the strings that the asset reads and writes at run time. When you test the asset, import or enter a string on each row that does not exceed the value on the property.
You can set a maximum string length of 10,000 characters. The default maximum length is 255 characters.
•If you import a CSV file that contains multiple columns or uses a text qualifier, verify that the file uses a delimiter or a text qualifier that the Secure Agent recognizes. By default, the Comma option is the delimiter for the column data. By default, the No quotes option is the text qualifier for the data. You can update the delimiter and text qualifier characters when you select the data to import. The Delimiter and Text Qualifier options are not required when you import a Microsoft Excel file.
•The Secure Agent saves the data that you import to the asset when you save the asset. If you change an option in the asset configuration, you may lose any unsaved test data.