1.下載源碼html
http://jmeter.apache.org/download_jmeter.cgijava
2.修改文件名git
eclipse.classpath和eclipse.projectgithub
ren .\eclipse.classpath .classpath
ren .\eclipse.project .project
3.導入源碼到項目apache
4.ant編譯build.xml下載依賴jar包eclipse
點擊download_jarui
install 將jar包同步到環境spa
5.F4配置依賴.net
先刪除舊的依賴;code
再導入新的依賴
最後install
6.找到主類 NewDtiver
7.run主類
8.配置jmeter_HOME系統變量
java.lang.Throwable: Could not access D:\1openSourceWorksapce\lib at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:101) java.lang.Throwable: Could not access D:\1openSourceWorksapce\lib\ext at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:101) java.lang.Throwable: Could not access D:\1openSourceWorksapce\lib\junit at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:101) ERROR StatusLogger Unable to access file:/D:/1openSourceWorksapce/bin/log4j2.xml java.io.FileNotFoundException: D:\1openSourceWorksapce\bin\log4j2.xml (系統找不到指定的路徑。)
-Djmeter.home=D:\apache-jmeter-3.3
IDEA上傳到github
建立倉庫,add, commit, share
參考文章:https://blog.csdn.net/collonn/article/details/78565300
打包jar 包: https://www.cnblogs.com/VweiweiyixiaoV/p/6610681.html
IDEA上傳到github: https://www.cnblogs.com/520playboy/p/6697127.html