It might be useful to allow the user to specify that stdout is written to a file. This could of course be achieved by creating a script to redirect the output, but it would be simpler for the user if the sampler did this. Likewise for stderr and stdin. If not specified, stderr and stdin are captured by the sampler as the sampler output. Might also be worth considering supporting environment updates via ProcessBuilder#environment(). This would require an additional table on the GUI.
Env variables implemented in Bug 53172
URL: http://svn.apache.org/viewvc?rev=1380074&view=rev Log: OS Process - allow specification of stdout/stderr/stdin Bugzilla Id: 53168 Added: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamCopier.java (with props) Modified: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc?rev=1380080&view=rev Log: OS Process - allow specification of stdout/stderr/stdin Modified: jmeter/trunk/docs/images/screenshots/os_process_sampler.png jmeter/trunk/xdocs/images/screenshots/os_process_sampler.png jmeter/trunk/xdocs/usermanual/component_reference.xml
Date: Mon Sep 3 11:50:53 2012 New Revision: 1380212 URL: http://svn.apache.org/viewvc?rev=1380212&view=rev Log: Added i18n for stderr, stdin, stdout Bugzilla Id: 53168 Modified: jmeter/trunk/docs/images/screenshots/os_process_sampler.png jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java jmeter/trunk/xdocs/images/screenshots/os_process_sampler.png
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2819