Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS Process - allow specification of stdout/stderr/stdin ? #2819

Closed
asfimport opened this issue May 1, 2012 · 4 comments
Closed

OS Process - allow specification of stdout/stderr/stdin ? #2819

asfimport opened this issue May 1, 2012 · 4 comments

Comments

@asfimport
Copy link
Collaborator

Sebb (Bug 53168):
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.

OS: All

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Env variables implemented in #2821

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
URL: http://svn.apache.org/viewvc?rev=1380074&view=rev
Log:
OS Process - allow specification of stdout/stderr/stdin
#2819

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

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
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

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
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
#2819

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant