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

 


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
粤ICP备14056181号  © 2014-2021 ITdaan.com