Bug 55349

Summary: NativeCommand hangs if no input file is specified and the application requests input
Product: JMeter Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2013-08-02 22:29:55 UTC
The NativeCommand class is used by the SystemSampler to run OS applications.

If the application requests input (and does not have a timeout), the application will hang unless the sampler provides an input file.

The solution is to close the application input stream if no file is provided.
Comment 1 Sebb 2013-08-02 22:40:05 UTC
URL: http://svn.apache.org/r1509896
Log:
NativeCommand hangs if no input file is specified and the application requests input
Bugzilla Id: 55349

Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
    jmeter/trunk/xdocs/changes.xml