本文介绍了jmeter 保存响应文件,文件大小可达10MB,当测试文件为50MB时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是测试了一个 http 请求,它将下载一个 50MB 的文件,但是保存对文件的响应"将文件保存到 10 MB,如何设置我可以下载文件的完整大小在命令行中

i just test a http request ,it will be download a 50MB file , but the "Save the Responses to a File" save a file up to 10 MB, how to set set that i can download the full size of the file in command line

推荐答案

将此行 document.max_size=0 添加到您的 user.properties 文件或在jmeter.properties 文件.建议添加到user.properties文件中.

Add this line document.max_size=0 to your user.properties file or uncomment it in the jmeter.properties file. It is suggested to add to the user.properties file.

文档解析的默认大小为 10Mb.如果将此值设置为零 (0),则不会检查 10 MB.要调用属性文件,您必须重新启动 JMeter.

The default size for document parsing is 10Mb. If you set this value to zero (0) then there will be no checking for 10 MB. To invoke the properties file, you have to restart your JMeter.

这篇关于jmeter 保存响应文件,文件大小可达10MB,当测试文件为50MB时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 11:05