Description
This method adds a Domain as a Sibling to a given Domain.
Exceptions
The following GenRocket exceptions may be thrown by this method:
- If the runtime instance is currently running another Scenario.
- If the requested Domain with siblingName is not found.
- If the requested Domain with sourceName is not found.
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
Java
public void domainSiblingAdd(String siblingName, String sourceName)
REST/Socket Payload Request
Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.
HTML
{ "interfaceType": "Manual", "methodName": "domainSiblingAdd", "parameters": { "siblingName": "", "sourceName": "" } }
REST/Socket Payload Successful Payload Response
The API JSON response payload for this method will be empty.
HTML
{ "responseType": "OK", "data": "" }