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

问题描述

我只是测试一个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保存对文件的响应,当测试文件为50MB时,文件大小最大为10MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 11:05