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

边栏推荐
- HOT100 hash
- 【uniapp】多种支付方式封装
- 【Keras入门日志(3)】Keras中的序贯(Sequential)模型与函数式(Functional)模型
- 什么是消息订阅和发布?
- The analysis, solution and development of the problem of router dropping frequently
- NFT digital collection development: Six differences between digital collections and NFT
- 【每日一题】919. 完全二叉树插入器
- 深度学习模型部署
- Pycharm common shortcut keys
- 程序环境和预处理
猜你喜欢

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.

从Boosting谈到LamdaMART
![[200 opencv routines] 231. Gray level co-occurrence matrix (GLCM) for feature description](/img/34/082364611754b5d2ede5ac2f3a42cc.png)
[200 opencv routines] 231. Gray level co-occurrence matrix (GLCM) for feature description

Crawler data analysis

Apache dolphin scheduler 2.x nanny level source code analysis, China Mobile engineers uncover the whole process of service scheduling and start

20220209 create a basic Servlet

【推荐系统经典论文(十)】阿里SDM模型

WCF 入门教程二

Compose text and icon splicing to realize drawableleft or drawableright

Wrong Addition
随机推荐
Network trimming: a data driven neuron pruning approach towards efficient deep architectures paper translation / Notes
6、MySQL数据库的备份与恢复
【推荐系统经典论文(十)】阿里SDM模型
Practice of online question feedback module (XIV): realize online question answering function
[daily question 1] 919. Complete binary tree inserter
Vscode cannot start the problem solving idea
Speech at 2021 global machine learning conference
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
Hystrix配置简单说明
hot100 哈希
Configure flask
OVSDB
6. Combined data type
Meta universe infrastructure: analysis of the advantages of Web 3.0 chain33
0 dynamic programming leetcode1567. Length of the longest subarray with positive product
Sort: merge sort and quick sort
JWT快速入门
MMOE多目标建模
程序环境和预处理
WCF 部署在IIS上