Open zcai2023 opened 1 year ago
Well, JMeter can't find the keytool binary, as stated in the line: Unable to find keytool application. Check PATH or define system property keytool.directory
Have you looked at the path you mentioned, that there is a binary named keytool?
@FSchumacher Thanks. I checked my Java folder. Yes, there is a keytool.exe in the Java/bin folder. PATH has been set properly. I could run keytool in CMD to prove PATH is working. I've attached all the screenshots below.
@FSchumacher I also tried to set the keytool.directory in system.properties (see attached screenshot below), but still no luck. I just got an extra line of error message in the log (attached below)
2023-05-06 08:14:29,225 ERROR o.a.j.e.KeyToolUtils: Cannot find keytool using property keytool.directory=C:/Program Files/Java/jdk-20/bin 2023-05-06 08:14:29,225 ERROR o.a.j.e.KeyToolUtils: Unable to find keytool application. Check PATH or define system property keytool.directory
Expected behavior
Able to re-generate the Apache certificate successfully
Actual behavior
Run into this error "could not create script recorder - see log for details: Cannot find keytool application and no keystore was provided" when I hit the Start button in the Test Script Recorder
Steps to reproduce the problem
JMeter Version
5.5
Java Version
jdk-20
OS Version
Windows 10 Enterprise OS build 19044.2846