private QueueConnectionResponse issueQueueConnectionRequest(final String hostName,
      final int locatorPort,
      final int redundantCopies)
      throws IOException, ClassNotFoundException {
    return (QueueConnectionResponse) issueRequest(hostName, locatorPort,
        new QueueConnectionRequest(null, redundantCopies, Collections.EMPTY_SET, null, false),
        true);
  }
Test that the locator will properly estimate the load for servers when it receives connection
requests.
geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/LocatorLoadBalancingDUnitTest.java