private String getHostName() throws Exception {
    return LocalHostUtil.getLocalHost().getCanonicalHostName();
  }
GatewayReceiver with given attributes on multiple groups.
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/wancommand/CreateGatewayReceiverCommandDUnitTest.java