JMeter automatically move the Maven jar package to the JMeter folder
BAT file
REMThis file is placed under the JMeter script Maven project root directory, and Pom.xml under the same folderREMpre-set conditions, the official website download Apache-jmeter-3.2.zip in the following filepath and extract to the current folderSetFilepath=d:\work\jmeterperformancetestREMrd/s/q%filepath%\apache-jmeter-3.2\REMecho "Start expand"REMExpand%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 Copy test code file to jmeter ext folder belowEchoyes|CopyTarget\test-box-perf-1.0-snapshot.jar%filepath%\apache-jmeter-3.2\lib\extEcho"Finshed"Pause
Windows automatically moves the Maven jar package to the JMeter folder below