- 1、在构建中填写如下命令:
- 2、start.sh文件的内容
cd /Applications/apache-jmeter-3.0/bin/ CURTIME=`date +%Y%m%d%H%M`./jmeter -n -t /Applications/apache-jmeter-3.0/testScript/51.jmx -l \/Applications/apache-jmeter-3.0/testScript/51_${CURTIME} -e -o /Applications/apache-jmeter-3.0/report/report_${CURTIME}rm -rf /Applications/apache-ant-1.9.7/report/html/* if [ -d "/Applications/apache-jmeter-3.0/report/report_${CURTIME}" ]; thencp -rf /Applications/apache-jmeter-3.0/report/report_${CURTIME}/* /Applications/apache-ant-1.9.7/report/html/fi
- 3、生成的报告如下: