I would like to automate the "merging" of two different library configurations into a single work space. The two base configurations making up the merge are libraries. Is there a mechanism to do this using the LabManagerInternal API set?
My first attempt was to use Checkout. That API fails due to the server side requirement that the target of checkout operation may not exist. This is shown below:
test:
LabMinder:Checkout Checking out library: LoadRunner4K_SSH to workspace: TaskS
pace500.15
BUILD FAILED
javax.xml.ws.soap.SOAPFaultException: "TaskSpace500.15" already exists in the workspace. ---> "TaskSpace500.15" already exists in the workspace. ---> "TaskSpace500.15" already exists in the workspace.
I next considered using the ConfigurationClone method. That method requries a workspace to be passed in on the configurationId argument as shown below:
test:
LabMinder:Clone Starting to clone configuration LoadRunner4K_SSH
BUILD FAILED
javax.xml.ws.soap.SOAPFaultException: This configuration is not a Workspace Configuration ---> This configuration is not a Workspace Configuration ---> This configuration is not a Workspace Configuration
My question is what API call should I be using to do this? I looked at ConfigurationCopy however that method requires that a VMCopyData structure be created. The requirement of the VMCopyData structure implies that this call initiates a deep copy operation, potentially onto a different data store.
Is there a way to do this?
Tags:
lab_manager_sdk,
sdk_documentation,
soap_api