In this section:
Some testing activities can be accomplished with simple tabular data, as opposed to complex hierarchical data structures. You can create simple data sets in Continuous Testing Platform that can be used in tests executed in the desktop, command line, or web interface. You can either create an empty data set and populate it manually or create a data set by importing a file containing the data.
See About the Data Repository for definitions of terms used in this section.
The main application toolbar contains functionality associated with the data repository, but additional functionality may appear in the toolbar depending on the current view.
You can perform the following actions in the main toolbar.
Click the Export button to export the repository. This action creates a copy of the data repository that you can download from the main page of the Data tab. See Creating and Managing Repositories.
Click on a repository in the Data tab to open the data repository view.
You can perform the following actions in the data repository view.
The data set will be added to the repository page. See Adding and Modifying Data for next steps.
You can also create a data set on import.
You can download the data set or record type as a JSON or CSV file.
Choose Delete from the ellipses menu and confirm that you want to remove the data set or record type when prompted. If the data set contains a hierarchy of record types that are not referenced by another data set, you can enable the Delete orphaned record types option to ensure that the data set is completely removed. This option does not apply to record types.
Click on a data set in the Data Sets column to open the Data Record View.
The data record view is the interface for modifying data. Click on a data set from the data repository view to access records.
You can perform the following actions.
Click on the ellipsis menu in the data set header to add key columns, value columns, and to add first and last rows.
New value columns are always added to the end of the table.
New key columns are added to the beginning of the table (immediately to the right of the Row # column) in alphabetical order according the following precedence:
|
Click on the column actions menu to rename or delete the column. You can also sort how the data is presented by key column values. Sorting does not affect the structure of the data.
Click the row actions menu to add an inline row, duplicate the data row, or delete the row.
Duplicated and newly-added rows are added below the actioned row and are highlighted.
Click on the edit icon to enable editing values for the row. When in edit mode, the edit icon changes to the save button and the row actions menu icon changes to the cancel button.
Change the value of the Row # field to change the order when the data is used in SOAtest.
Only CSV and CSV-formatted files are currently supported for import.
(Optional) Configure how the data is imported. Click in a field in the File options and choose from the available settings. Enable the Trim spaces option to remove extraneous spaces from the data. You can designate a field as a key, value, or both. Keys enable message responders to find the correct row of data to construct responses.