private Tap makeInputData(BasePlatform platform, String testname, int numDomains, int numPages, Payload payload) throws Exception {
String platformName = platform.getClass().getSimpleName();
BasePath defaultPath = platform.makePath(BASE_INPUT_PATH + testname + "/" + platformName + "/in");
Tap in = platform.makeTap(platform.makeBinaryScheme(UrlDatum.FIELDS), defaultPath, SinkMode.REPLACE);
TupleEntryCollector write = in.openForWrite(platform.makeFlowProcess());
for (int i = 0; i < numDomains; i++) {
for (int j = 0; j < numPages; j++) {
// Use special domain name pattern so code deep inside of operations "knows" not
// to try to resolve host names to IP addresses.
write.add(makeTuple("bixo-test-domain-" + i + ".com", j, payload));