Bug 55349 - NativeCommand hangs if no input file is specified and the application requests input
Summary: NativeCommand hangs if no input file is specified and the application request...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:54 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3178