当前位置:网站首页>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 .

边栏推荐
- 288 page 180000 word intelligent campus overall design directory
- 11. Zuul routing gateway
- Framework learning journey: init process startup process
- 知识图谱:知识表示
- H. 265 web player easyplayer's method of opening video to the public
- NFT数字藏品系统开发:小蚁数智帮助品牌一键上链发行NFT
- Using LCD1602 to display ultrasonic ranging
- 「Gonna Be Alright 会好的」数藏现已开售!感受艺术家的心灵共鸣
- Maximum nesting depth of parentheses
- Leetcode:433. minimal genetic change
猜你喜欢

2022 retraining question bank and answers for main principals of hazardous chemical business units

356 pages, 140000 words, weak current intelligent system of high-end commercial office complex, 2022 Edition

Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice

288页18万字智能化校园总体设计 目录

【愚公系列】2022年7月 Go教学课程 018-分支结构之switch

VR panorama gold rush "careful machine" (Part 1)

3381. Mobile keyboard (Tsinghua University postgraduate entrance examination machine test question)

基于风能转换系统的非线性优化跟踪控制(Matlab代码实现)

Development of NFT digital collection system: Xiaoyi digital intelligence helps brands launch NFT with one click on the chain

JVM原理简介
随机推荐
An online duplicate of a hidden bug
基于风能转换系统的非线性优化跟踪控制(Matlab代码实现)
A. Round Down the Price
Development of NFT digital collection system: Xiaoyi digital intelligence helps brands launch NFT with one click on the chain
在Golang结构体中使用tag标签
Subject 3: Jinan Zhangqiu line 6
0726~ resume sorting interview summary
【愚公系列】2022年7月 Go教学课程 018-分支结构之switch
二叉树的坡度
Chapter 4 decision tree and random forest
记一次TCP丢包带来的重大性能问题
ArrayList与LinkedList区别
酷雷曼VR全景为你铺设创业之路
NFT数字藏品系统开发:小蚁数智帮助品牌一键上链发行NFT
《MySQL》认识MySQL与计算机基础知识
【OBS】circlebuf
A. Parkway Walk
Golang发送邮件库email
H. 265 web player easyplayer's method of opening video to the public
利用LCD1602显示超声波测距