jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From UBIK LOAD PACK Support <supp...@ubikloadpack.com>
Subject Re: HTTP(S) Test Script Recorder can't start
Date Tue, 22 Oct 2013 07:43:15 GMT
Hello,
Ensure you have JAVA_HOME set correctly.

To test it, open a cmd , and type java, then type keytool.
If they don't work then your Java install is broken, install a JDK7 (better
for recording) and restart JMeter




On Tue, Oct 22, 2013 at 9:36 AM, 黄吉浩 <13651877684@163.com> wrote:

>
> I know it changes it's name. but when I click 'Start', It just show me an
> error msg box which says: could not create proxy - see log for details
> btw, I just want to deal with HTTP protocol. and I can't find
> proxyserver.jks or keytool in the $bin directory .
>
> the log is as following:
> 2013/10/22 15:24:56 WARN  - jmeter.protocol.http.proxy.ProxyControl: Could
> not open expected file or certificate is not valid
> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks
> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks (I translated to English:
> System can't find specified file)
> 2013/10/22 15:24:56 INFO  - jmeter.protocol.http.proxy.ProxyControl:
> Generating standard keypair in
> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks
> 2013/10/22 15:24:56 ERROR - jmeter.protocol.http.proxy.ProxyControl: Could
> not initialise key store java.io.IOException: Cannot run program "keytool"
> (in directory "D:\tool\apache-jmeter-2.10\bin"): CreateProcess error=2,
> ?????????
>  at java.lang.ProcessBuilder.start(Unknown Source)
>  at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:142)
>  at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:125)
>  at org.apache.jorphan.exec.KeyToolUtils.genkeypair(KeyToolUtils.java:123)
>  at
> org.apache.jmeter.protocol.http.proxy.ProxyControl.initJMeterKeyStore(ProxyControl.java:1338)
>  at
> org.apache.jmeter.protocol.http.proxy.ProxyControl.initKeyStore(ProxyControl.java:1210)
>  at
> org.apache.jmeter.protocol.http.proxy.ProxyControl.startProxy(ProxyControl.java:431)
>  at
> org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.startProxy(ProxyControlGui.java:485)
>  at
> org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed(ProxyControlGui.java:370)
>  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.LightweightDispatcher.processMouseEvent(Unknown Source)
>  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>  at java.awt.Container.dispatchEventImpl(Unknown Source)
>  at java.awt.Window.dispatchEventImpl(Unknown Source)
>  at java.awt.Component.dispatchEvent(Unknown Source)
>  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>  at java.awt.EventQueue.access$000(Unknown Source)
>  at java.awt.EventQueue$1.run(Unknown Source)
>  at java.awt.EventQueue$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>  at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>  at java.awt.EventQueue$2.run(Unknown Source)
>  at java.awt.EventQueue$2.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>  at java.awt.EventQueue.dispatchEvent(Unknown Source)
>  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>  at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.io.IOException: CreateProcess error=2, ?????????
>  at java.lang.ProcessImpl.create(Native Method)
>  at java.lang.ProcessImpl.<init>(Unknown Source)
>  at java.lang.ProcessImpl.start(Unknown Source)
>  ... 45 more
>




-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message