首先,安装好几个东西,配置好环境变量,接下来一一演示下:
1、JDK
存放路径:D:\java\jdk
环境变量:
JAVA_HOME=D:\java\jdk
CLASSPATH=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
path=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
cmd下输入:java -version,出现这个即为成功
2、JMeter
存放路径:D:\JMeter\apache-jmeter-5.0\apache-jmeter-5.0
环境变量:
JMETER_HOME=D:\JMeter\apache-jmeter-5.0\apache-jmeter-5.0
CLASSPATH=%JMETER_HOME\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar;
path=%JMETER_HOME%/bin;%ANT_HOME%\bin;
cmd下输入:jmeter -v,出现这个即为成功
3、ant
安装路径:D:\apache-ant-1.10.5-bin\apache-ant-1.10.5
ANT_HOME=D:\apache-ant-1.10.5-bin\apache-ant-1.10.5
CLASSPATH=%ANT_HOME%\lib;
path=%ANT_HOME%\bin;
cmd下输入:ant,出现这个即为成功
4、Jenkins
下载好.war包,放进tomcat的webapps文件下下即可
原文地址:https://www.cnblogs.com/xiaowenshu/p/9961021.html