Trying to record in Jmeter, but when clicking on Start in Http Script recorder, getting below error :
Jmeter - 5.6.2
2024-03-07 15:09:43,994 WARN o.a.j.p.h.p.ProxyControl: Could not read key store keystore password was incorrect; cause: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption., a new one will be created, ensure you install it in browser java.io.IOException: keystore password was incorrect
Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. ... 47 more 2024-03-07 15:09:43,994 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.NoClassDefFoundError: org/apache/commons/text/RandomStringGenerator$Builder
I have tried re-installing Jmeter a multiple times now. Jmeter certificate is created and already added to Firefox
This line:
means that your JMeter installation is broken somehow, you're supposed to have commons-text library in JMeter Classpath
This line:
may mean that the auto-generated password from one of previous installations is available in Java Preferences storage so you might want to clean up this storage, storage location differs depending on the operating system you use
Consider upgrading to JMeter 5.6.3, you're supposed to be using the latest version of JMeter
There is an alternative way of recording a JMeter test: JMeter Chrome Extension, in this case you won't have to worry about proxies and certificates.