标签:erp out copy test snapshot ext lib pat art
jmeter 自动移动maven jar包到jmeter 文件夹下面
bat 文件
rem 本文件放在jmeter 脚本maven项目根目录下面,和pom.xml在同一个文件夹下面 rem 预置条件,把官网下载的apache-jmeter-3.2.zip 放在如下filePath 并解压到当前文件夹 set filePath=D:\work\jmeterPerformanceTest rem rd /s /q %filePath%\apache-jmeter-3.2\ rem echo "start expand" rem expand %filePath%\apache-jmeter-3.2.zip %filePath% echo "start mvn" cmd /c "mvn -U clean install dependency:copy-dependencies -DoutputDirectory=%filePath%\apache-jmeter-3.2\lib" echo "start copy"
rem 复制测试代码文件到jmeter ext文件夹下面 echo yes|copy target\test-box-perf-1.0-SNAPSHOT.jar %filePath%\apache-jmeter-3.2\lib\ext echo "finshed" pause
windows 自动移动maven jar包到jmeter 文件夹下面
标签:erp out copy test snapshot ext lib pat art
原文地址:http://www.cnblogs.com/testway/p/7771994.html