Bug 55349 - NativeCommand hangs if no input file is specified and the application requests input
NativeCommand hangs if no input file is specified and the application request...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-02 22:29 UTC by Sebb
Modified: 2013-08-02 22:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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