Execute execute = new Execute(new LogStreamHandler(this, Project.MSG_INFO, Project.MSG_WARN));
execute.setCommandline(cmd.getCommandline());
execute.setAntRun(getProject());
execute.setWorkingDirectory(new File(jmeterHome.getAbsolutePath() + File.separator + "bin"));
log(cmd.describeCommand(), Project.MSG_VERBOSE);
try {
execute.execute();
} catch (IOException e) {
throw new BuildException("JMeter execution failed.", e, location);