To save the recorded events, you can export them to a Recording Studio history file or
to IBM® DevOps Test Virtualization Control Panel (Test Virtualization Control Panel).
Before you can export recorded events to Test Virtualization Control Panel, you must ensure that your project is
connected to a valid instance of Test Virtualization Control Panel.
To ensure that the connection is working correctly, click Project > Project
Settings on the menu bar, click the Server Settings tab on
the Project Settings window, and verify that a green checkmark icon is
displayed next to the URL field on the Control Panel area of the tab. If there is no URL displayed
or if there is a red cross icon next to the URL field, contact your Test Integrations and APIs project administrator.
Note: Before you export recorded events, the events are sorted by Timestamp in ascending order.
When you import the recorded events, the events are in the order that they were recorded even
if you sorted them before exporting them. For example, if you sort the recorded events by
clicking the column headers and then clear all the events, the events table is still sorted in
the same way as it was before clearing the events. Therefore, if you import the events again,
they are sorted as the events table indicates and not necessarily in the same order as they are
in the export file.
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.
In
contrast, exporting recorded events to the
Test Virtualization Control Panel enables you to perform the following tasks:
- 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.
- Share your recorded events with other users in the same domain.
Notes:
- 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.
-
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:
-
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.
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.