@Test
  public void testClientIds() throws Exception {
    managementTestRule.createManagers();

    int port = serverVM.invoke(this::createServerCache);
    String hostName = getServerHostName(serverVM.getHost());

    client1VM.invoke(() -> createClientCache(hostName, port));
    client2VM.invoke(() -> createClientCache(hostName, port));

    DistributedMember serverMember = managementTestRule.getDistributedMember(serverVM);

    managerVM.invoke(() -> verifyClientIds(serverMember, port));
  }
This is for testing client IDs
geode-core/src/distributedTest/java/org/apache/geode/management/internal/pulse/TestClientIdsDUnitTest.java