oldStepExecution.setEndTime(new Date());
StepExecution stepExecution = MetaDataInstanceFactory
.createStepExecution();
model.put("stepExecutionInfo", new StepExecutionInfo(stepExecution,
TimeZone.getTimeZone("GMT")));
StepExecutionHistory stepExecutionHistory = new StepExecutionHistory(
"step");
stepExecutionHistory.append(oldStepExecution);
model.put("stepExecutionHistory", stepExecutionHistory);
model.put("stepExecutionProgress", new StepExecutionProgress(
stepExecution, stepExecutionHistory));
progress.render(model, request, response);
String content = response.getContentAsString();