public static void doPutsSameKey(String regionName, int numPuts, String key) {
    IgnoredException exp1 =
        addIgnoredException(InterruptedException.class.getName());
    IgnoredException exp2 =
        addIgnoredException(GatewaySenderException.class.getName());
    try {
      Region<Object, Object> r = cache.getRegion(SEPARATOR + regionName);
      for (long i = 0; i < numPuts; i++) {
        r.put(key, "Value_" + i);
      }
    } finally {
      exp1.remove();
      exp2.remove();
    }
  }
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