Bug 41029

Summary: JMeter -t fails to close input JMX file on parsing error
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P1    
Version: 2.2   
Target Milestone: ---   
Hardware: All   
OS: other   

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)
Comment 3 The ASF infrastructure team 2022-09-24 20:37:38 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1831