Start JMeter recording agent to record, report to Jmeter.protocol.http.proxy.ProxyControl

Source: Internet
Author: User

When you use the JMeter Agent to record an HTTP request, start the HTTP (S) Test Script Recorder report Jmeter.protocol.http.proxy.ProxyControl,

The logs are:

2018/05/19 15:47:05 info-jmeter.protocol.http.proxy.proxycontrol:creating proxy CA in D:\LT\Jmeter\apache-jmeter-3.0 \bin\proxyserver.jks
2018/05/19 15:47:05 error-jmeter.protocol.http.proxy.proxycontrol:could not initialise key store Java.io.IOException: >> illegal option:-ext
Try Keytool-help <<
Command failed, code:1
' Keytool-genkeypair-alias:root_ca:-dname ' cn=_ do not INSTALL unless this is your certificate (JMeter root CA), Ou=use Rname:liutao, C=CN "-keyalg rsa-keystore proxyserver.jks-storepass {redacted}-keypass {redacted}-validity 7-ext bc:c ‘
At Org.apache.jorphan.exec.KeyToolUtils.genkeypair (keytoolutils.java:165)
At Org.apache.jorphan.exec.KeyToolUtils.generateProxyCA (keytoolutils.java:232)
At Org.apache.jmeter.protocol.http.proxy.ProxyControl.initDynamicKeyStore (proxycontrol.java:1426)
At Org.apache.jmeter.protocol.http.proxy.ProxyControl.initKeyStore (proxycontrol.java:1353)
At Org.apache.jmeter.protocol.http.proxy.ProxyControl.startProxy (proxycontrol.java:476)
At Org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.startProxy (proxycontrolgui.java:516)
At Org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed (proxycontrolgui.java:390)
At javax.swing.AbstractButton.fireActionPerformed (Unknown Source)
At javax.swing.abstractbutton$handler.actionperformed (Unknown Source)
At javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)
At javax.swing.DefaultButtonModel.setPressed (Unknown Source)
At javax.swing.plaf.basic.BasicButtonListener.mouseReleased (Unknown Source)
At Java.awt.Component.processMouseEvent (Unknown Source)
At Javax.swing.JComponent.processMouseEvent (Unknown Source)
At Java.awt.Component.processEvent (Unknown Source)
At Java.awt.Container.processEvent (Unknown Source)
At Java.awt.Component.dispatchEventImpl (Unknown Source)
At Java.awt.Container.dispatchEventImpl (Unknown Source)
At Java.awt.Component.dispatchEvent (Unknown Source)
At Java.awt.LightweightDispatcher.retargetMouseEvent (Unknown Source)
At Java.awt.LightweightDispatche

Resolution process:

1. Check whether the original configuration is normal

2, JMeter under the bin directory is Proxyserver.jks, the directory does not, after the copy in, restart JMeter problem is not resolved

3.

The problem is resolved and can be recorded normally.

PS: As a jmeter novice to solve the problem, will be particularly happy.

Start JMeter recording agent to record, report to Jmeter.protocol.http.proxy.ProxyControl

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.