当前位置:网站首页>JMeter recording interface automation
JMeter recording interface automation
2022-07-27 15:08:00 【weixin_ thirty-nine million one hundred and eighteen thousand a】
One 、 install Jmeter( Refer to the last post )
- install JDK, Configure environment variables JAVA_HOME, The computer Java The environment is normal
- To configure Jmeter environment variable :JMETER_HOME; CLASSPATH normal
- Official website address :Apache JMeter - Download Apache JMeter


Two 、Jmeter Recording web End script
1. open Jmeter, To configure Jmeter Tools
(1) add to 【 Thread group 】
test plan ( Right click ) - add to - Thread group
(2) add to 【 Simple controller 】
Thread group ( Right click ) - add to - Logic controller - Simple controller
(3) add to 【HTTP proxy server 】
test plan ( Right click ) - add to - Non test elements - HTTP proxy server
(4) HTTP proxy server - Troubleshooting mode
.*\.(js|css|PNG|jpg|ico)
.*\.css
.*\.jpg


2.HTTP The port number can be seen in the proxy settings , The agent network information it sends is : ip: Port number ( Such as 127.0.0.1:8880)
3. Open browser proxy network settings , Desktop notification bar network connection icon ---> The Internet and internet attribute ---> agent ---> Set up agent manually
Use Jmeter Agent network , start-up HTTP After the proxy server, you can start recording HTTP request ( Some browser agents follow the system , Some are set independently )

4. If you need to record https request , You need to configure certificates . When starting the proxy server ,Jmeter Under the bin The directory will generate a certificate named ApacheJMeterTemporaryRootCA.crt file . You need to import the certificate Jmeter And browser ( The method of importing browser certificate is the same as fiddler Agreement ) Make sure 2 After installing the certificate on both ends , Before you can record
3、 ... and 、 Installation certificate
1. Jmeter Options -SSL After the manager successfully imports the certificate , stay Jmeter The installation path bin You'll see it in the directory ApacheJMeterTemporaryRootCA.crt This certificate ( Now start HTTP proxy server , Then go to the directory to see whether the certificate is generated )

2. start-up HTTP proxy server
Follow the prompts to install the certificate , You can open the browser and enter the address you want to visit , Start recording interface

3. Turn on HTTP proxy server





4. Then close the browser proxy , You can visit the web page normally
边栏推荐
- Lesson 3: SPFA seeking the shortest path
- internship:其他配置类的编写
- Data warehouse project is never a technical project
- 国信证券手机开户安全吗 中山证券靠谱吗
- Graphical SQL is too vivid
- Nefu119 combinatorial prime [basic theorem of arithmetic]
- 深圳市人力资源和社会保障局关于发放脱贫人口就业有关补贴的通知
- 网络设备硬核技术内幕 路由器篇 5 汤普金森漫游网络世界(上)
- @What happens when bean and @component are used on the same class?
- FPGA timing constraint sharing 04_ Output delay constraint
猜你喜欢

Dynamic programming - stock trading 5

修改frameworks资源文件如何单编

Kubernetes 节点磁盘故障排查

What is tor? What is the use of tor browser update?

LeetCode 190. 颠倒二进制位 位运算/easy

图解 SQL,这也太形象了吧

Stock trading 4

Automatically configure SSH password free login and cancel SSH password free configuration script

Code coverage statistical artifact -jacobo tool practice

工具 - markdown编辑器常用方法
随机推荐
[ManageEngine] what is Siem
股票买卖4
网络设备硬核技术内幕 路由器篇 (10) CISCO ASR9900拆解 (四)
通过VN1630/VN7640的I/O功能来确认电源设置电压的时间精确度
面试官问:如何判断一个元素是否在可视区域?
Passive income: return to the original and safe two ways to earn
aac 和 h264等的时间戳
STM32F103C8T6在Arduino框架下驱动ssd1306 0.96“ IIC OLED显示
LeetCode 90. 子集 II 回溯/medium
NEFU117 素数个数的位数【素数定理】
Web页面table表格,实现快速筛选
周鸿祎:数字安全能力落后也会挨打
如何做好企业系统漏洞评估
【云享读书会第13期】多媒体处理工具 FFmpeg 工具集
多线程环境下CountDownLatch的用法
If we were the developer responsible for repairing the collapse of station B that night
LeetCode 783. 二叉搜索树节点最小距离 树/easy
How to help enterprises optimize office management
MySQL 面试40连问,面试官你再问下去我可要翻脸了
FPGA时序约束分享04_output delay 约束