for(int i=1;i<=numCases; i++){
if(i>0 && i%inc ==0 )ostream.print(i+" ");
if(i>0 && i%lines ==0 )ostream.print("\n");
OutputStream out = new FileOutputStream(filename(name,numCases,i));
DataMap datamap = session.getDataMap(session.getMapping(),testObj.getRuleSetName());
DataObj request = generate();
request.write2DataMap(datamap);
datamap.print(out);
}
} catch (FileNotFoundException e) {
ostream.println(e.toString());
e.printStackTrace();
}