Exporting recorded events
To save the recorded events, you can export them to a Recording Studio history file or to HCL DevOps Test Virtualization Control Panel (Test Virtualization Control Panel).
Before you begin
About this task
Exporting recorded events to a Recording Studio history file enables you to save recorded events during an Test Integrations and APIs user session and import those events into Recording Studio during a subsequent user session.
- Search, view, edit, delete, and thus manage your recorded events data on the Library page
of Test Virtualization Control Panel.Note: In Test Virtualization Control Panel, you can edit only the meta-data that describes recorded events.
- After editing or deleting your recorded events data, you can import the data from Test Virtualization Control Panel into your Test Integrations and APIs project and use it to create tests
and stubs.Note: There are limitations with importing recorded events into a project that is different from the project from which they were exported. .
- Share your recorded events with other users in the same domain.
- The Test Virtualization Control Panel export capability is available only in Test Integrations and APIs 8.5.1 or later. The Library page of the server is available only in Test Virtualization Control Panel 8.5.1 or later.
- If you are using 8.5.1.1 or later and domain-level security is enabled, you can export recorded events only to domains to which you have been granted access.
Procedure
- Open the Recording Studio perspective.
- Create an event monitor if required.
- Start a recording session.
- Generate events or wait for the system under test to generate events (whichever is applicable).
- On the upper half of the Events View window, select one or more recorded events.
-
On the toolbar of the Events View window, click Export selected
events ().
The Export Recorded Events wizard is displayed.
-
Select an export option:
- File
- Control Panel
-
To export recorded events to a file:
- Click File and Next. The Save window is displayed.
-
In the File name field, enter a name a name for the file. The file
extension
.rsh
(Recording Studio history) will be added automatically. - Click Save. The Export to file window is displayed. The specified location and file name are displayed in the Export events to field.
- Optional: Click Browse if you want to change the location or the file name.
- Click Finish.
-
To export recorded events to Test Virtualization Control Panel:
- Click Control Panel and Next. The Export to Control Panel window is displayed.
- In the Artifact name field, enter a name for the selected recorded events.
- In the Recorded environment list, click the environment to which you want to export the selected events. The environments displayed in the Recorded environment list depend on the domain selected in the Domain list on Server Settings tab on the Project Settings window.
- Optional: In the Short description field, enter a brief description for the selected recorded events.
- Optional: In the Description field, enter a full description for the selected recorded events.
- Optional: In the Labels field, enter metadata for the selected recorded events (use spaces to separate the labels). The metadata will help Test Virtualization Control Panel users when searching for the selected recorded events in Test Virtualization Control Panel. The metadata will also help you if you want to import the selected recorded events from Test Virtualization Control Panel into your project.
- Click Finish.
Results
The selected recorded events are exported to the specified Recording Studio history file or to the specified Test Virtualization Control Panel instance (whichever is applicable).
If exporting to Test Virtualization Control Panel, the Recording Studio history file is uploaded to Test Virtualization Control Panel with information about the currently selected domain in your project and information about the relevant environment that is embedded in the recorded events data. However, other project metadata is not sent to Test Virtualization Control Panel.