当前位置:网站首页>Use of JMeter performance test to store response content to file listener
Use of JMeter performance test to store response content to file listener
2022-07-26 07:33:00 【South wind of Mu City】
Jmeter Use to store the response content to the file listener
1. summary
In the use of Jmeter When doing a performance test , Sometimes you need to store the interface return information in a file . The initial implementation is to write a beanShell Script implementation . Now? Jmeter A listener that saves the response content to a file is provided, and handwritten scripts are no longer required , It is very simple and convenient to use . This article introduces how to use this listening component .
2. Save the response content to the file listener usage scenario
Use the data returned by the interface to create test data , For example, create a product order number in batch .
2.1. Add and save the response content to the file listener component
Right click add in request add Listener——>SaveResponses to a file

2.2.SaveResponses to a file Component configuration

Set file saving path and name prefix description
- Set the path to save the response content to the file , You need to pay attention to this The folder of the path needs to be created in advance , And a path symbol is required after the set path folder , for example D:\liveFile\ There is a slash symbol at the end , Without this symbol, he would liveFile As a prefix to the file name , Save files in D Under the plate .
2.3. Save the test response content to the file
start-up Jmeter Script , When the script stops, open the folder where the setting file is saved , View that the response content has been saved to a file .

边栏推荐
- PR subtitle production
- Shardingsphere data slicing
- How to ensure the double write consistency between cache and database?
- 5. Multi table query
- 机器学习相关比赛网站
- What is bloom filter in redis series?
- DADNN: Multi-Scene CTR Prediction via Domain-Aware Deep Neural Network
- Leetcode 206. reverse chain list (2022.07.25)
- Download and install the free version of typora
- :app:checkDebugAarMetadata 2 issues were found when checking AAR metadata: 2 issues were found when
猜你喜欢
![PostgreSQL UUID fuzzy search UUID string type conversion SQL error [42883] explicit type casts](/img/ba/28afaead68c9ff47d15d5c5395d9ce.png)
PostgreSQL UUID fuzzy search UUID string type conversion SQL error [42883] explicit type casts
![[classic thesis of recommendation system (10)] Alibaba SDM model](/img/a5/3ae37b847042ffb34e436720f61d17.png)
[classic thesis of recommendation system (10)] Alibaba SDM model

Selenium: detailed explanation of browser crawler use (I)

博途PLC一阶滞后系统传递函数阶跃响应输出仿真(SCL)

NFT digital collection system development: Huawei releases the first collector's digital collection

DADNN: Multi-Scene CTR Prediction via Domain-Aware Deep Neural Network

“尝鲜”元宇宙,周杰伦最佳拍档方文山将于7月25日官宣《华流元宇宙》

Taishan office lecture: word error about inconsistent values of page margins

Program environment and pretreatment

MMOE multi-objective modeling
随机推荐
2021全球机器学习大会演讲稿
Machine learning related competition website
Apache dolphin scheduler 2.x nanny level source code analysis, China Mobile engineers uncover the whole process of service scheduling and start
July training (day 18) - tree
Installation of Baidu flying paste deep learning framework tutorial in Anaconda
【Keras入门日志(3)】Keras中的序贯(Sequential)模型与函数式(Functional)模型
Pycharm common shortcut keys
[C language] do you really know printf? (printf is typically error prone, and collection is strongly recommended)
Shardingsphere data slicing
Hcip--- BGP comprehensive experiment
6、MySQL数据库的备份与恢复
C # use log4net to record logs (basic chapter)
NFT digital collection development: digital art collection enabling public welfare platform
3.0.0 alpha blockbuster release! Nine new functions and new UI unlock new capabilities of dispatching system
[classic thesis of recommendation system (10)] Alibaba SDM model
【推荐系统经典论文(十)】阿里SDM模型
DevExpress.XtraEditors.DataNavigator用法
NFT digital collection development: digital collections help enterprise development
记一次路由器频繁掉线问题的分析、解决与发展
Common templates for web development