当前位置:网站首页>JMeter notes 6 | JMeter recording agent (configuration)
JMeter notes 6 | JMeter recording agent (configuration)
2022-08-09 19:32:00 【NoamaNelson】
6 | JMeter Recording (Configuring Proxy)
1 Test Subject Preparation
Our follow-up test subjects use the ZenTao open source version for demonstration.For the detailed installation of Zen Tao, please refer to the official website https://www.zentao.net/download/zentaopms17.4-81093.html
SimpleOutline the next steps:
- After entering the official website from the above link, drag it to the bottom of the page
- Find the download link: Windows one-click installation is recommended

- After the download is successful, double-click
ZenTaoPMS.17.4.zbox.win64.exeto install - A folder
zboxwill be generated after installation, open it to findZenTao.exeand double-click it - Click "Open Zen Tao" to

- Select "Open Source Edition" and enter the login page, or directly enter http://127.0.0.1/zentao/user-login.html?tid=4epjcpt4

- The initial account and password are
admin/123456

2 Basic Overview of JMeter Recording
2.1 Description
- JMeter recording function is mainly completed by using the HTTP proxy server and recording controller that comes with JMeter
2.2 application scenarios
To be honest, I don't use this very much. If it is more convenient to use BadBoy for recording, import it directly.
- In general, recording can be done without interface documentation
- Of course, you can also capture packets, but you need to set filters, otherwise there will be too much content, but this recording can avoid such problems
- The recording information is relatively complete, such as request header information
2.3 Recording Process
- JMeter adds HTTP proxy server and recording controller
- Browser settings proxy
- Click Start in JMeter Proxy Server
- Complete the recording, test the recording interface
3 Recording Process
3.1 Browser Configuration Proxy
- Take Firefox as an example: Open Firefox browser-click options-general-network proxy-settings-select manual proxy configuration-set port number
Port: 8756 (set it casually, don't conflict with the existing port, four digits, the port of this port JMeter subsequent proxy server should be the same as this)

3.2 JMeter Configuration Agent
- Right click on the test plan - add - non-test fragment - HTTP proxy server, as shown in the figure:

Port: 8756 (same as browser)

- Right-click on the thread group-Add-Logical Controller-Recording Controller, modify the controller name to ZenTao-Login and logout:


- Select the target controller in the HTTP proxy server, click Start, and click OK in the pop-up interface to start recording:

- Open Firefox and enter the URL http://127.0.0.1/zentao/user-login.html?tid=4epjcpt4Start recording

边栏推荐
猜你喜欢
随机推荐
MySQL的索引你了解吗
冷冻电镜聚类中心(2D Class)粒子图像的解析
3 Feature Binning Methods!
无需支付688苹果开发者账号,xcode13打包导出ipa,提供他人进行内测
2.1、基于并行上下文注意网络的场景文本图像超分辨率
试试使用 Vitest 进行组件测试,确实很香。
Now, how to choose a stage rental LED display?
【燃】是时候展现真正的实力了!一文看懂2022华为开发者大赛技术亮点
JMeter笔记6 | JMeter录制(配置代理)
智能工具管理系统
A51 - 基于STM32的DHT11和LCD显示串口通信仿真
GoFrame缓冲输出到客户端Flush()
PADS generates bitmap
期货开户流程和手续费如何调整
vr虚拟仿真样板间极大节省出样成本-深圳华锐视点
安装MySQL的最后一步第四个红叉怎么解决
【时序数据库InfluxDB】Windows环境下配置InfluxDB+数据可视化,以及使用 C#进行简单操作的代码实例...
OpenCV image transformation - histogram equalization
对象模型-虚指针虚表
TMin - whether TMin overflows








