https://issues.apache.org/bugzilla/show_bug.cgi?id=55959
Bug ID: 55959
Summary: hard-to-decipher error message when Proxy recording
fails due to JMeter being located in Program Files
Product: JMeter
Version: 2.11
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31172
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31172&action=edit
log output for issue
The new 2.10/2.11 Test Script Recorder seems promising, but some users have a
hard time getting it running.
https://wiki.apache.org/jmeter/TestRecording210 informs about how to get Java
JDK up and running.
But it also doesn't work when installed in a folder without full access rights,
e.g. C:\Program Files\apache-jmeter-2.11
This seems to be a known issue according to thread
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201311.mbox/%3cCAH9fUpb6USD6=-6t_2fyf6gybdmmmn7w5ysw8ayn+s133fa...@mail.gmail.com%3e
Not sure if it can be addressed so it works, but a more helpful error message
would be good.
Client: Windows 8, 64-bit, Java JRE 1.7.0_45_b18, Java JDK 1.7.0_45, JMeter
2.11
JMeter location: C:\Program Files\apache-jmeter-2.11
1. Edit jmeter.bat according to https://wiki.apache.org/jmeter/TestRecording210
so Java JDK is accessed
2. Start JMeter 2.11
3. In Workbench, Add Non-Test Elements, HTTP(S) Test Script Recorder
4. Click Start
Result: An extremely wide error message (2 lines):
"Could not create script recording proxy - see log for details: Command
:'"C:\Program Files\Java\jre7\bin\keytool" -genkeypair -alias :root_ca: -dname
"CN=_ DO NOT INSTALL unless this is your certificate (JMeter root CA),
OU=Username: rikard, C=US" -keyalg RSA -keystore proxyserver.jks -storepass
{redacted) -keypass {redacted) -validity 7 -ext bc:c' failed, code: 1
keytool error: java.io.FileNotFoundException: proxyserver.jks (Access is
denied)"
(Full log message in attached JMeter210_ProgramFiles_ProxyRecordingError.txt)
The path listed in error dialog is for Java, which is misleading, since the
work-around is to place JMeter in a folder with full administrative rights.
Expected: A more informative error message that helps the user address the
problem, e.g. by hinting at access rights problems for the JMeter location.
Or that it works also when JMeter is installed in Program Files (or similar)
https://wiki.apache.org/jmeter/TestRecording210 could also be updated with
information regarding this.
--
You are receiving this mail because:
You are the assignee for the bug.