Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running JMeter via a shortcut?

I am trying to create a shortcut outside the bin folder to run Jmeter, but no matter what I do, after Jmeter runs, and I try and execute my test, I get this error -

Uncaught Exception java.lang.NoClassDefFoundError: org/openqa/selenium/os /Kernel32. See log file for details.

I have tried -

  • A shortcut using "c:\windows\explorer.exe path\to\jmeter.bat"
  • A batch file cd'ing into the bin dir and running the jmeter.bat
  • A batch file cd'ing into the bin dir then runnin "java -jar ApacheJmeter.jar"

All three execute Jmeter fine, but my test won't run as per the error above..if I run the bat or jar directly in the bin folder, my tests working..

Someone must have run Jmeter from a shortcut before?

like image 544
Karl Avatar asked Oct 21 '25 16:10

Karl


1 Answers

One alternative way you can use if I'm thinking right -

  1. Move to your jmeter bin folder
  2. Right click on jmeter.bat file
  3. Select send to > Desktop(create shortcut)
like image 142
NarendraR Avatar answered Oct 23 '25 14:10

NarendraR