This method renames the current name of a Domain.


The following GenRocket exceptions may be thrown by this method:  

  • If the runtime instance is currently running another Scenario.

Runtime Method Signature

Use this method signature when directly accessing the GenRocket binary runtime.

public void domainRename(String domainName, String name)

REST/Socket Payload Request

Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.

  "interfaceType": "Manual",
  "method": "domainRename",
  "parameters": {
      domainName: "" 
      name : ""

REST/Socket Payload Successful Payload Response

The API JSON response payload for this method will be empty.

  "responseType": "OK",
  "data": ""