public void postDocuments(int numberToPost) throws JsonException, IOException, HttpException {
RemotePipeline rp = new HttpRemotePipeline("insertStage");
for(int i=0; i<numberToPost; i++) {
rp.saveFull(LocalDocumentFactory.getRandomStringDocument("in", "id", "x", "y", "z", "a", "b", "c", "d", "e", "f"));
}
}
public static void main(String[] args) throws Exception {
FlowCheck fc = new FlowCheck();