jmeter maven自動移動jar包windows 批處理命令

來源:互聯網
上載者:User

標籤:set   file   erp   blog   dep   rpe   tput   star   directory   

jmeter項目maven檔案下面放這.bat 工具,可以把必要的jar包移動到jmeter響應的檔案夾下面

rem 本檔案放在jmeter 指令碼maven項目根目錄下面,和pom.xml在同一個檔案夾下面rem 預置條件,把官網下載的apache-jmeter-3.2.zip  放在如下filePath 並解壓到當前檔案夾set filePath=D:\work\jmeterPerformanceTestrem rd /s /q %filePath%\apache-jmeter-3.2rem 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"echo yes|copy target\test-box-perf-1.0-SNAPSHOT.jar  %filePath%\apache-jmeter-3.2\lib\extecho "finshed"pause

 

jmeter maven自動移動jar包windows 批處理命令

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.