当前位置:网站首页>JMeter download and installation
JMeter download and installation
2022-07-27 04:13:00 【crazyK.】
One 、 Environmental preparation
1.Jmeter Is pure Java Developed , Be able to run Java The system of the program can generally run Jmeter, Such as :Windows、 Linux、 mac etc. . Because it is caused by Java Development , So naturally we need jdk Environmental Science .
2. Go to official download JMeter Installation package :Apache JMeter - Download Apache JMeter
Two 、 install
1. Unzip the compressed package into an English directory
2. Configure environment variables
New variable name :JMETER_HOME
A variable's value : C:\apache-jmeter-3.3
Change the variable name CLASSPATH, Add the following variable values :
%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar;
if CLASSPATH There is no semicolon at the end ; You need to add a semicolon first ; Add the above variable value
3. Enter the folder after decompression bi Catalog n, Get into bin After the directory , Double-click on the run jmeter.bat, When it opens, there are two windows ,Jmeter Command window and Jmeter The graphical operation interface of , You can't close the command window .
The following interface will appear , The installation is successful

3、 ... and 、 Error resolution details
1.
Jmeter Startup time , There is an error unable to access jarfile apachejmeter.jar error value=1
reason : Download it on the official website apache-jmeter-3.3_src.zip, This will cause an error in operation .
solve : What should be downloaded is apache-jmeter-3.3.zip

2.
open Jmeter Then the following warning appears :Could not open/create prefs root node Software\JavaSoft\Prefs atroot 0x80000002. Windows RegCreateKeyEx(...) returned error code 5
But it does not affect normal use , The solution is as follows :
Just open it as an administrator , Don't bother to modify the registry
3.
open Jmeter After that, the following error appears :'findstr' Not an internal or external command , Nor are they runnable programs or batch files ;unable to access jarfile apachejmeter.jar error value=2
stay path Add the following path to the environment variable :C:\Windows\System32
The startup will be a little slow , Just wait for a moment
4. The code problem

open jmeter.properties file , find “sampleresult.default.encoding”, Set the original default value “ISO-8859-1” It is amended as follows “utf-8” that will do , It should be noted that : Put the front # Remove the number , because # Table No. notes


5.

The operation shows the situation on the diagram , Once confused myself for a long time , It hasn't been solved , But the solution is simple .
Because the proxy service is set , Is based on fiddler Of , therefore , It needs to be turned on when running fiddler Tools .

Turn on fiddler after , It's normal . Sometimes it starts fiddler, However, the above error will still appear in a request , resolvent , Is to choose which request java that will do .

边栏推荐
- 商业打假系列之第一百之--无聊的制度和管理流程真的可以扔进垃圾桶-顺便分析十几个无用的Unity游戏自检项目
- What is animation effect? What is the transition effect?
- 记一次TCP丢包带来的重大性能问题
- [Yugong series] July 2022 go teaching course 018 switch of branch structure
- Framework learning journey: init process startup process
- 【MySQL系列】MySQL索引事务
- Golang sends email to the mail Library
- 阿里云服务器域名加端口网页不能访问问题记录
- Alibaba cloud server domain name and port web page cannot access the problem record
- 3381. Mobile keyboard (Tsinghua University postgraduate entrance examination machine test question)
猜你喜欢

科目三: 济南章丘五号线

Bean Validation原理篇--07

PSINS工具箱中轨迹生成工具详细解析

C how to set different text watermarks for each page of word

STM32CubeMX学习笔记(41)——ETH接口+LwIP协议栈使用(DHCP)

11. Zuul routing gateway

记一次TCP丢包带来的重大性能问题

线上一个隐匿 Bug 的复盘

Cool Lehman VR panorama paves the way for you to start a business

Is VR panoramic production a single weapon in the home decoration industry? Why is this?
随机推荐
C. Cypher
Golang发送邮件库email
酷雷曼VR全景为你铺设创业之路
NFT数字藏品系统开发:老牌文学杂志玩起新潮数字藏品
leetcode:433. 最小基因变化
Summer meal | rich people are different from what you think (day 5) + power system power flow simulation (documents and matlab code)
ffmpeg合并视频功能
Bean Validation原理篇--07
Redis面试题(2022)
科目三: 济南章丘三号线
Chapter 5 decision tree and random forest practice
C language learning notes - memory management
电商系统结合商品秒杀活动,VR全景不断带来收益
2022 operation of simulated examination question bank and simulated examination platform for safety production management personnel of hazardous chemical production units
Abstract intelligent extraction [based on Bert technology]
Search rotation sort array
Framework learning journey: init process startup process
11.zuul路由网关
Leetcode daily exercise: sort sentences
括号的最大嵌套深度