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

边栏推荐
- China Unicom transformed the Apache dolphin scheduler resource center to realize the one-stop access of cross cluster call and data script of billing environment
- JMeter性能测试之使用CSV文件参数化
- DADNN: Multi-Scene CTR Prediction via Domain-Aware Deep Neural Network
- “尝鲜”元宇宙,周杰伦最佳拍档方文山将于7月25日官宣《华流元宇宙》
- 20220209 create a basic Servlet
- NFT digital collection system development: digital collections give new vitality to brands
- WCF introductory tutorial II
- C # use log4net to record logs (basic chapter)
- TensorFlow学习日记之tflearn
- 2019中兴捧月·模型压缩方案
猜你喜欢

6、MySQL数据库的备份与恢复

Installation of Baidu flying paste deep learning framework tutorial in Anaconda

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

Program environment and pretreatment

MMOE多目标建模

VScode无法启动问题解决思路

Hcip--- MPLS detailed explanation and BGP route filtering

20220209 create a basic Servlet

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

Jmeter性能测试之使用存储响应内容到文件监听器
随机推荐
[200 opencv routines] 231. Gray level co-occurrence matrix (GLCM) for feature description
Vscode cannot start the problem solving idea
在线问题反馈模块实战(十四):实现在线答疑功能
机器学习相关比赛网站
Network Trimming: A Data-Driven Neuron Pruning Approach towards Efficient Deep Architectures论文翻译/笔记
In July, glassnode data showed that the open position of eth perpetual futures contract on deribit had just reached a one month high of $237959827.
Common templates for web development
博途PLC一阶滞后系统传递函数阶跃响应输出仿真(SCL)
How to ensure the double write consistency between cache and database?
【推荐系统经典论文(十)】阿里SDM模型
Network trimming: a data driven neuron pruning approach towards efficient deep architectures paper translation / Notes
0动态规划 LeetCode1567. 乘积为正数的最长子数组长度
6、MySQL数据库的备份与恢复
2022.7.22DAY612
Tensorflow learning diary tflearn
MySQL syntax (2) (pure syntax)
Jmeter性能测试之将每次接口请求的结果保存到文件中
元宇宙基础设施:WEB 3.0 chain33 优势分析
2019 ZTE touyue · model compression scheme
Taishan Office Technology Lecture: page width, height, size and source, and the conversion relationship between inches, centimeters and DPI