jmeter – Unable to record using http recording controller with a proxy

I’ve been trying to log my web application’s actions using jmeter’s http logging console. I’ve added a logging console, and a test script logger with proxy settings set. The certificate has been imported and installed. Also set up the proxy in the browser preferences for Chrome. But when I try to start and record actions, none of them are recorded in the recording console. Forgot something here?

These are my settings:

Test logger script – proxy settings for port 8989 OS – localhost, 8989 installed crt file created on startup on Chrome under Trusted Root Auth references and log created when you started logging:
2021-07-19 14:59:58,152 oajphpProxyControl warning: Could not open/read keystore E:Setupapache-jmeter-5.4.1binproxyserver.jks (the system cannot find the file specified), file A new one will be created, be sure to install it in the browser java.io.FileNotFoundException: E:Setupapache-jmeter-5.4.1binproxyserver.jks (The system cannot find the file specified) in java.io.FileInputStream . open0 (original method) ~[?:1.8.0_271]
In java.io.FileInputStream.open (unknown source) ~[?:1.8.0_271]
in java.io.FileInputStream. (unknown source) ~[?:1.8.0_271]
on org.apache.jmeter.protocol.http.proxy.ProxyControl.getKeyStore (ProxyControl.java:1651) ~[ApacheJMeter_http.jar:5.4.1]
On org.apache.jmeter.protocol.http.proxy.ProxyControl.initDynamicKeyStore (ProxyControl.java:1529) [ApacheJMeter_http.jar:5.4.1]
On org.apache.jmeter.protocol.http.proxy.ProxyControl.initKeyStore (ProxyControl.java:1480) [ApacheJMeter_http.jar:5.4.1]
at org.apache.jmeter.protocol.http.proxy.ProxyControl.startProxy (ProxyControl.java:523) [ApacheJMeter_http.jar:5.4.1]
on org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.startProxy (ProxyControlGui.java:623) [ApacheJMeter_http.jar:5.4.1]
at org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed (ProxyControlGui.java:463) [ApacheJMeter_http.jar:5.4.1]
In javax.swing.AbstractButton.fireActionPerformed (unknown source) [?:1.8.0_271]
In javax.swing.AbstractButton $Handler.actionPerformed (unknown source) [?:1.8.0_271]
In javax.swing.DefaultButtonModel.fireActionPerformed (unknown source) [?:1.8.0_271]
In javax.swing.DefaultButtonModel.setPressed (unknown source) [?:1.8.0_271]
In javax.swing.plaf.basic.BasicButtonListener.mouseReleased (unknown source) [?:1.8.0_271]
at com.github.weisj.darklaf.ui.button.DarkButtonListener.mouseReleased(DarkButtonListener.java:72) [darklaf-core-2.5.4.jar:2.5.4]
in java.awt.Component.processMouseEvent (unknown source) [?:1.8.0_271]
in javax.swing.JComponent.processMouseEvent (unknown source) [?:1.8.0_271]
in java.awt.Component.processEvent (unknown source) [?:1.8.0_271]
in java.awt.Container.processEvent (unknown source) [?:1.8.0_271]
in java.awt.Component.dispatchEventImpl (unknown source) [?:1.8.0_271]
in java.awt.Container.dispatchEventImpl (unknown source) [?:1.8.0_271]
in java.awt.Component.dispatchEvent (unknown source) [?:1.8.0_271]
in java.awt.LightweightDispatcher.retargetMouseEvent (unknown source) [?:1.8.0_271]
in java.awt.LightweightDispatcher.processMouseEvent (unknown source) [?:1.8.0_271]
in java.awt.LightweightDispatcher.dispatchEvent (unknown source) [?:1.8.0_271]
in java.awt.Container.dispatchEventImpl (unknown source) [?:1.8.0_271]
in java.awt.Window.dispatchEventImpl (unknown source) [?:1.8.0_271]
in java.awt.Component.dispatchEvent (unknown source) [?:1.8.0_271]
in java.awt.EventQueue.dispatchEventImpl (unknown source) [?:1.8.0_271]
in java.awt.EventQueue.access $500 (unknown source) [?:1.8.0_271]
In java.awt.EventQueue $3.run (unknown source) [?:1.8.0_271]
In java.awt.EventQueue $3.run (unknown source) [?:1.8.0_271]
In java.security.AccessController.doPrivileged (original method) ~[?:1.8.0_271]
In java.security.ProtectionDomain $JavaSecurityAccessImpl.doIntersectionPrivilege (unknown source) [?:1.8.0_271]
In java.security.ProtectionDomain $JavaSecurityAccessImpl.doIntersectionPrivilege (unknown source) [?:1.8.0_271]
In java.awt.EventQueue $4.run (unknown source) [?:1.8.0_271]
In java.awt.EventQueue $4.run (unknown source) [?:1.8.0_271]
In java.security.AccessController.doPrivileged (original method) ~[?:1.8.0_271]
In java.security.ProtectionDomain $JavaSecurityAccessImpl.doIntersectionPrivilege (unknown source) [?:1.8.0_271]
in java.awt.EventQueue.dispatchEvent (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.pumpOneEventForFilters (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.pumpEventsForFilter (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.pumpEvents (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.pumpEvents (unknown source) [?:1.8.0_271]
in java.awt.EventDispatchThread.run (unknown source) [?:1.8.0_271]
2021-07-19 14:59:58,153 INFO oajphpProxyControl: Create HTTP(S) Test Script Recorder Root CA at E:Setupapache-jmeter-5.4.1binproxyserver.jks, make sure the certificate is installed in Your browser to register 07-19-2021 15:00:13,492 INFO oajphpProxyControl: keystore created at E:Setupapache-jmeter-5.4.1binproxyserver.jks 2021-07-19 15:00 : 13,494 INFO oajphpDaemon: Creating Daemon Socket on port: 8989 07-19-2021 15:00: 13,498 INFO oajphpDaemon: Test Script Recorder is running! 2021-07-19 15:04:21,538 INFO oajphpDaemon: HTTP(S) Test Script Recorder STOP

Leave a Comment