In ReadyAPI, you can move or copy your VirtActions between projects and virtual services. This process allows you to quickly duplicate endpoints and VirtActions in one step. This functionality helps eliminate repetitive setup tasks and maintains consistent configurations across projects.
Steps to Move or Copy a VirtAction:
-
Open the Virtual Service Editor
In the Navigator panel, select the virtual service containing the VirtAction you want to move or copy.
-
Select the VirtAction
In the virtual service editor, select the VirtAction that you want to move or copy, and then click the Move or Copy VirtActions button.
-
Choose the Move or Copy Action
In the subsequent Move or Merge Selected VirtActions dialog, use the Method dropdown to select one of the following options:
- Move to: To transfer the VirtAction to another project or virtual service.
- Copy to: To create a copy of the VirtAction in a different project or virtual service.
-
Select the Target Project and Virtual Service
Click Select project to specify the target project.
From the Move to or Copy to dropdown (depending on the selected action), choose the target virtual service.
Note: Only virtual services using the same protocol are displayed in the list. For example, if you are working with a REST virtual service, SOAP virtual services will not appear. -
Confirm and Complete the Action
After selecting the target project and virtual service, click OK to finalize the move or copy action.
The VirtAction will now appear in the selected project or virtual service.
Note: When moving or copying VirtActions, their signatures and matches are also transferred.