public static Map<CustId, Shipment> updateShipmentPartitionedRegionUsingCustId(int numPuts) {
    Map<CustId, Shipment> shipmentKeyValue = new HashMap<>();
    for (int i = 1; i <= numPuts; i++) {
      CustId custid = new CustId(i);
      Shipment shipment = new Shipment("Shipment" + i + "_update");
      try {
        shipmentRegion.put(custid, shipment);
        assertThat(shipmentRegion.containsKey(custid)).isTrue();
        assertThat(shipmentRegion.get(custid)).isEqualTo(shipment);
        shipmentKeyValue.put(custid, shipment);
      } catch (Exception e) {
        fail(
            "updateShipmentPartitionedRegionUsingCustId : failed while doing put operation in ShipmentPartitionedRegion ",
            e);
      }
      logger.info("Shipment :- { " + custid + " : " + shipment + " }");
    }
    return shipmentKeyValue;
  }
Returns a Map that contains the count for number of cache server and number of Receivers.
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/WANTestBase.java