Differences between revisions 2 and 3
Revision 2 as of 2013-10-24 23:05:18
Size: 1336
Editor: JMeterAdmin
Comment:
Revision 3 as of 2013-10-25 07:13:39
Size: 1336
Editor: Milamber
Comment:
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
PATH=$JAVA_HOME/bin;$PATH PATH=$JAVA_HOME/bin:$PATH

JMeter 2.10 uses a new method for recording HTTPS requests when running under Java 7.

There have been some reports of problems starting the recorder, with errors such as the following:

ERROR - jmeter.protocol.http.proxy.ProxyControl: Could not initialise key store java.io.IOException: Cannot run program "keytool" (in directory "C:\apache-jmeter-2.10\bin"): CreateProcess error=2, The system cannot find the file specified

This means that the "keytool" application could not be found on the PATH. Please ensure that the PATH includes the bin directory for the appropriate Java installation.

If this was not correctly set when Java was installed, it may be necessary to update the script that starts JMeter.

For example add the following to jmeter.bat (Windows)

set JAVA_HOME=<path to JDK>
rem for example
set JAVA_HOME=C:\jdk1.7.0_45

set PATH=%JAVA_HOME%\bin;%PATH%

Similarly for Unix, update the script "jmeter" or "jmeter.sh":

JAVA_HOME=<PATH TO JDK>  # for example JAVA_HOME=/usr/java170

export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

This should fix the problem. However note that the path will almost certainly have to be changed if a new version of Java is installed, so ideally the system PATH should be set to include the correct location for Java.

TestRecording210 (last edited 2014-01-07 12:11:30 by JMeterAdmin)