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

Jmeter stderr is not captured anywhere #40

Closed
foragerr opened this issue Apr 6, 2015 · 1 comment · Fixed by #39
Closed

Jmeter stderr is not captured anywhere #40

foragerr opened this issue Apr 6, 2015 · 1 comment · Fixed by #39

Comments

@foragerr
Copy link
Contributor

foragerr commented Apr 6, 2015

Jmeter is launched as a separate process

ProcessBuilder processBuilder = new ProcessBuilder(createArgumentList(specs, workingDirectory))

The stdout (and stderr) of this process is not captured anywhere. If an error occurs before jmeter is launched completely, then jmeter.log is not created and the launch error is lost, making debugging challenging.

workaround: redirect stdout to parent process (gradle's) stdout.

ProcessBuilder processBuilder = new ProcessBuilder(createArgumentList(specs, workingDirectory)).inheritIO()
@foragerr
Copy link
Contributor Author

foragerr commented Apr 6, 2015

closed in pull request #39

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

Successfully merging a pull request may close this issue.

1 participant