jenkins内运行jmeter脚本
set jmxPath=G:\auto_test set now=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2% set report=%jmxPath%\ftploadtest\%now% mkdir %report% set csv=%jmxPath%\ftploadtest\%now%.csv call jmeter -n -t %jmxPath%\ftploadtest.jmx -l %csv% -e -o %report% -Jthreads=1 -Jseconds =1 -Jduration=10 set jmxPath=G:\auto_test set now=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2% set report=%jmxPath%\ftploadtest set workspace=E:\Program Files (x86)\Jenkins\workspace\start1 rmdir %report% /s /q mkdir %report% set csv=%jmxPath%\%now%.csv call jmeter -n -t %jmxPath%\ftploadtest.jmx -l %csv% -e -o %report% -Jthreads=1 -Jseconds =1 -Jduration=10