I am trying to investigate jmeter and have quickly run into some problems. I am attempting to follow the tutorial at http://jmeter.apache.org/usermanual/jmeter_proxy_step_by
Try running JMeter from a command prompt with admin privs, works for me !
Since the version JMeter 2.10, you must configure the var PATH in Windows.
The problem become from new PROXY HTTPS.
To avoid configuration of JMeter and JDK from Oracle, I make a package for installation.
A new package was created for JMeter 2.11
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:
Also ensure you read:
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.
Also I would recommend you to consider alternatives in automatic script writing. Actually there are some ways of .jmx scripts writing:
using proxy as described in the tutorial you've given
using badBoy tool .
http://www.badboy.com.au/ http://www.badboysoftware.biz/docs/ http://www.youtube.com/watch?v=OX9NbYuE07I
benefits: easy record, easy export to jmeter.
using blazemeter chrome extenstion:
http://community.blazemeter.com/knowledgebase/articles/231479-chrome-extension
benefits: You can export the script written to jmeter and/or to cloud as well and run it on the cloud.
As soon as you try these approaches probably you'll find out what you've missed.