public Map<String, Object> createLargePayload(int repeat) {
        Map<String, Object> largePayload = new HashMap<>();
        try {
            InputStream inputStream = readOutputDotJson();
            Map<String, Object> payload = objectMapper.readValue(inputStream, Map.class);
            for (int i = 0; i < repeat; i++) {
                largePayload.put(String.valueOf(i), payload);
            }
        } catch (IOException e) {
            // just handle this exception here and return empty map so that test will fail in case
            // this exception is thrown
        }
        return largePayload;
    }
A {@link ExternalPayloadStorage} implementation that stores payload in file.
test-harness/src/test/java/com/netflix/conductor/test/utils/MockExternalPayloadStorage.java