简体   繁体   中英

Jmeter HTTP Request with file protocol is not taking all the file

I want to simulate a response data with a local .xml file

I found this way, putting "file" in http protocol and the location of the file in "patch", it seems to work just like i need but the .xml file size its 250mb and the response data of the jmeter is cutting the complete file and its only showing me a part of it. I think its not taking all the file because already try to change the "view.results.tree.max_size" but that its not the problem.

图片1

图片2

If there another way i will listen but i need the file like a response data, not like a variable.

Thanks!

PD. Dont look the console errors that appears in the first photo, i just forgot to clean those.

There are 2 JMeter Properties which are responsible for the response data storage and visualization:

  • httpsampler.max_bytes_to_store_per_request
  • view.results.tree.max_size

Make sure to set them to 0 by adding the next lines to user.properties file:

httpsampler.max_bytes_to_store_per_request=0
view.results.tree.max_size=0

JMeter restart will be required to pick the properties up

Check out Apache JMeter Properties Customization Guide for more information on different JMeter properties types and ways of setting/overriding them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM