Bug 41029 - JMeter -t fails to close input JMX file on parsing error
Summary: JMeter -t fails to close input JMX file on parsing error
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.2
Hardware: All other
: P1 minor (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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)
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