Jmeter 2.10 HTTP recorder throws keytool exception
Since JMeter 2.10, recording has been improved to better handle embedded resources and creation of certificates on the fly. This makes recording complex HTTPS websites much easier.
To add these features, JMeter now uses keytool utility (available in JDK) so you need to ensure your configuration is correct, read this wiki page before starting:
- https://wiki.apache.org/jmeter/TestRecording210
Also ensure you read:
- http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder
Note it is much better to use a JDK7. (jdk7 should be installed on the system)
If you don't want to read the long answer (which you should :-) ), then: Ensure you have JAVA_HOME and PATH set correctly, to do it: Open jmeter.bat and add this (at the top after launch.exe command):
SET JAVA_HOME=Path to JDK
SET PATH=%PATH%;%JAVA_HOME%\bin
Restart JMeter and retest.
If it doesn't work, you can workaround by defining the following JMeter property in user.properties:
proxy.cert.alias=anything
If you're looking to learn jmeter correctly, this book will help you.
Try running JMeter from a command prompt with admin privs, works for me !