Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter - Webdriver error : java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Kernel32

This error:

  • jmeter log,

appears everytime I run a testscript in Jmeter. But everything works...

It is just this error that appears everytime in log after the actual script had run.

Can I ignore this error? Or will it influences my test?

Jmeter: 2.13
Java: 1.8.0.45
Jmeter Plugin : 1.3 (Standard,Extras,ExtraLibs, Webdriver)

like image 987
Paili Avatar asked Jul 22 '15 12:07

Paili


1 Answers

Your issue is due to missing jar that contains :

  • com/sun/jna/platform/win32/Kernel32

You should be able to download it with its dependency here:

  • http://www.java2s.com/Code/Jar/j/Downloadjna330platformjar.htm
  • http://www.java2s.com/Code/Jar/j/Downloadjna330jar.htm

And put it in jmeter/lib folder.

See a full tutorial on this at:

  • http://www.ubik-ingenierie.com/blog/leverage-your-load-testing-using-jmeter-and-selenium-webdriver/
like image 79
UBIK LOAD PACK Avatar answered Oct 21 '22 12:10

UBIK LOAD PACK