JMeter Common error message: Error-jmeter.protocol.http.proxy.proxycontrol:could not initialise key store Java.io.IOException: Cannot run program "Keytool"

Source: Internet
Author: User

JMeter 2.10 uses a new method to record HTTPS requests for Java 7.

The recording process will encounter some problems or errors, on the current encounter, to make some summary.

Error-jmeter.protocol.http.proxy.proxycontrol:could not initialise key store Java.io.IOException:Cannot Run Program "K Eytool "(In Directory" C:\apache-jmeter-2.10\bin "): CreateProcess error=2, the system cannot find the file specified

Encounter this error, generally consider the Java installation configuration error, this is necessary to do some jmeter configuration.

1. Locate the JMeter installation path, for example: \apache-jmeter-4.0\bin\jmeter.bat

2. Add the following configuration of the Java home and path in the Jmeter.bat file (if it is a Windows system)

Set Java_home=<path to Jdk>rem For exampleset java_home=c:\jdk1.7.0_45set path=%java_home%\bin;% path%  

Similar changes for UNIX systems, modify "JMeter" or "jmeter.sh" files:

Java_home=<path to jdk>  # for example java_home=/usr/java170export java_homepath= $JAVA _home/ Bin: $PATHexport PATH  

In general, this error can be solved.

JMeter Common error message: Error-jmeter.protocol.http.proxy.proxycontrol:could not initialise key store Java.io.IOException: Cannot run program "Keytool"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.