Resources can be easily shared between systems using CDRouter’s import and export features. Please see the instructions below for more information on sharing results, configuration files, and test packages between systems.
Note: The information provided in this article applies to CDRouter 10.0 and newer systems. For information specific to earlier versions of CDRouter, please refer to this article.
CDRouter utilizes the
.gz archive format for all resources exported from a
system. Export archives are designed soley for use by CDRouter’s import tool and
are are are not meant to be opened, read, parsed, or manipulated outside of
Exporting Via the Web Interface
The following resources can be exported from a CDRouter system:
- Test packages
Multiple resources can be exported in a single archive. This makes it very easy to transfer a collection of configurations, test packages, or results on another system.
To export one or more test results from CDRouter’s web interface, go to the Results page, select the test results to export, and press the Export button in the toolbar, as shown in the screenshot below.
A result export archive will contain a copy of the test package, configuration, all test logs, and by default all capture files associated with that test run. To reduce the size of the export archive that is created, capture files can be optionally omitted.
A result can also be exported by clicking on the Export icon for that particular test run.
Test Packages and Configurations
Individual test packages and configurations can also be exported directly from the packages page or the configurations page, respectively. To export one or more test packages or configurationss, select the resources to export and then click on the Export button in the toolbar.
Note that a test package export archive includes a copy of the associated configuration as well.
Importing Via the Web Interface
CDRouter’s import tool can be accessed from a number of places within the web interface. To import results, test packages, or configurations:
- click on the Imports link within the Admin menu
- click on the Import button on the configurations, packages, or results pages
- click on the Drag & Drop Here area on the home page
The import process begins when a valid export archive is selected for import or when a valid export archive is dragged and dropped onto the target area. Users have the ability to select certain components and modify attributes such as the name or tags for each component during the import process.
Note that CDRouter will automatically tag all imported configurations, test packages, and test results with the tag import.
There are three steps in the import process, as discussed below.
Choose What to Import
There are three ways to import resources into CDRouter:
Import via Browser: This option can be used to import files from the local system. Configurations, test packages, or results can be imported using drag and drop. Alternatively, clicking on the drop target will open a local file browser.
Import from Filesystem: This option can be used to import resources that have already been manually copied to the CDRouter test system but that have not yet been imported.
Import from another CDRouter: This option can be used to automatically import resourcess from another CDRouter system.