Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter - how to handle very large output xml files for long tests

I want to run JMeter for an extended period of time (6+ hours), to validate the stability of a web application under load.

The problem is that the XML output files for jmeter get to be huge and very slow to parse with XSL.

Is it possible to:

  • Send the output to a database (mysql, etc)
  • Split the outputs into multiple XML files once they reach a max size
like image 596
frankadelic Avatar asked Dec 09 '25 08:12

frankadelic


1 Answers

Within Jmeter, neither of your proposals is possible. You could have a third party tool/script split the XML file after the run.

Have you limited the output file to just the data you want? For example, do you need to capture the response data for all passed queries? For my needs, I create two listeners: One for all requests and one for failed requests only. I only write the response data for the failed requests.

like image 85
BlackGaff Avatar answered Dec 12 '25 10:12

BlackGaff



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!