当前位置:网站首页>JMeter common commands
JMeter common commands
2022-06-13 07:38:00 【_ seven seven】
JMeter Common commands
Start command
start-up jemeter Script for Commands that generate logs and results
jmeter -n -t /home/test.jmx -l /home/amt/1500.jtl -e -o /home/amt/rs
example:
/home/test/apache-jmeter-5.4/bin/jmeter -n -t /home/test/rs/text.jmx -l /home/test/1000.jtl -e -o /home/test/rs
Configure environment variables
vi /etc/profile -- Append at the end of file content
Mode one :
JAVA_HOME=/lyh/java/jdk1.8.0_221 --( Customize jdk The installation directory )
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
Mode two :
export JAVA_HOME=/home/lyh/jre1.8.0_301
export JRE_HOME=${JAVA_HOME}/jre
export PATH=${JAVA_HOME}/bin:$PATH
export CLASSPATH=.:{
JAVA_HOME}/lib:${JRE_HOME}/lib
shell Common commands
chmod 777 target_file -- To give permission
tar xzvf target_file -- decompression
source /etc/profile -- Make profile effective
java -version -- Check java edition
jmeter --version
rz -be target_file -- Upload folder
mkdir -- Create folder
sz -- Download command
zip -r -q Target name Packaged directory / file -- Packaging compression
mv test1-njzj\(1\).jmx test1-njzj.jmx -- Change the name
mv test1-njzj.jmx /web/jmeter/ -- Mobile directory
chown root:root test1-njzj.jmx -- Modify the permissions
chmod a+x test1-njzj.jmx -- Modify the permissions
Springboard machine
Springboard machine created Directly in the springboard ssh ip
Login script The springboard machine automatically logs in the account and password
$ ssh 113.xxx.200.90
password: xxxc.
Jmeter Script
${
__RandomString(,,)} Random string
边栏推荐
- Mui mixed development - when updating the download app, the system status bar displays the download progress
- Calculate running total / running balance
- Sharp weapon tcpdump
- 9. process control
- QT reading SQLSERVER database
- 2021-10-08
- 领先企业的管理实践证明,企业可持续发展的核心是什么?
- Functions about Oracle.
- Redis learning journey - cache exceptions (CACHE penetration, cache avalanche, cache breakdown)
- Data warehouse data processing and data flow
猜你喜欢
Index push down (ICP) for mysql5.6
Redis underlying data structure - underlying principle of hash table
Socket programming 2:io reuse (select & poll & epoll)
Redis learning journey - transaction
Advanced MySQL: how to learn MySQL source code
26 | Superscalar和VLIW:如何让CPU的吞吐率超过1
【Emgu.CV】Emgu.CV.Example\OCR运行报错System.IO.FileNotFoundException:“未能加载文件或程序集“System.Drawing.Common
[log framework] add user-defined parameters to the MDC implementation log
论文笔记: 多标签学习 BP-MLL
Redis learning journey sentinel mode
随机推荐
A. Vacations (dp 贪心
Advanced MySQL: how to learn MySQL source code
nodejs文件模块fs
24 | 冒险和预测(三):CPU里的“线程池”
oracle问题,字段里面的数据被逗号隔开,取逗号两边数据
Deploy RDS service
[MySQL] methods for troubleshooting lock related problems
Distributed transaction learning (I) preliminary understanding
Performance tuning can't just depend on tapping the brain
论文笔记: 多标签学习 BP-MLL
Sharp weapon tcpdump
Redis' underlying data structure -- SDS
C语言:如何给全局变量起一个别名?
思路清晰的软光栅小引擎和四元数结合案例
C language: how to give an alias to a global variable?
No configure file found when compiling PHP from source code
Precautions for passing parameters with byte array
[log framework] add user-defined parameters to the MDC implementation log
关于#数据库#的问题:PGADMIN4 编辑sql窗口问题
Station B crazy God notes