apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.11k stars 2.06k forks source link

Running a test plan that includes a CSV Data Set Config element with the Delimiter field blank causes an OutOfMemoryError #2124

Closed asfimport closed 16 years ago

asfimport commented 16 years ago

Jon Schneider (Bug 45185): In a JMeter test plan that includes a CSV Data Set Config element, if the value of the Delimiter field is cleared and then the test plan is run, an OutOfMemoryError occurs, and the JMeter GUI crashes (closes).

The following error gets displayed in the console window: "Exception java.lang.OutOfMemoryError: requested 83886096 bytes for promotion. Out of swap space?"

The attached test plan, BlankDelimiter.jmx, reproduces the issue.

If the Delimiter field in the CSV Data Set Config element is set back to a value of ",", then the error does not occur; the test runs normally.

It would be helpful if there was better error handling for this case, e.g. if the GUI could inform the user that the Delimiter field must be non-empty.

Created attachment BlankDelimiter.jmx: A simple JMeter test plan with a CSV Data Set Config element with a blank Delimiter field.

BlankDelimiter.jmx ````xml false false false 1 1 1 1213194193000 1213194193000 false continue c:\temp\t.txt x true false ````

Severity: minor OS: Windows XP

asfimport commented 16 years ago

Sebb (migrated from Bugzilla): Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=674215&view=rev Log: https://github.com/apache/jmeter/issues/2124 - CSV dataset blank delimiter causes OOM