Bug 41029 - JMeter -t fails to close input JMX file on parsing error
JMeter -t fails to close input JMX file on parsing error
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.2
All other
: P1 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-11-23 09:29 UTC by Sebb
Modified: 2006-11-26 15:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2006-11-23 09:29:05 UTC
If an invalid file is passed to jmeter using the -t switch, JMeter reports the 
error but fails to close the file as found out by trying to rename the 
invalid .JMX as a .JTL.

If the invalid file is opened from the menu, rather than on the command-line, 
the file is closed OK.
Comment 1 Sebb 2006-11-23 09:33:14 UTC
It seems the file is also not closed even if there is no error detected - so 
this is a general problem with the -t file handling.
Comment 2 Sebb 2006-11-26 15:00:23 UTC
Fixed in SVN (branch rel-2-2)