1.前置条件,windows安装jdk
2.Jmeter环境变量配置
新建变量JMETER_HOME
C:apache-jmeter-5.2.1
classpath变量新增
%JMETER_HOME%libextApacheJMeter_core.jar;%JMETER_HOME%libjorphan.jar;%JMETER_HOME%lib/logkit-2.0.jar;
右键管理员运行
C:apache-jmeter-5.2.1injmeter.bat
3.添加线程组-配置并发数-添加HTTP请求-添加监听器(查看结果)