How to use java class in jmeter? -
i have tried running java class in jmeter.
have placed java code in bsf preprocessor.
following error occurred:
error - org.apache.bsf.bsfmanager: exception : java.lang.classnotfoundexception: org.apache.bsf.engines.java.javaengine @ java.net.urlclassloader$1.run(urlclassloader.java:202) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:190
i have tried link including jar file. dont know jar file need include.
can 1 tell me jar file include running java class in jmeter?
it better use beanshell instead of java.
there seems packaging issue in bsf, see
in meantime, can binary distribution bsf engines bsf 2.4 (as advanced version of bsf 2.4) http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/current/bsf4rexx_install.zip. after unpacking zip-archive, find jar-file named "bsf-v244-20080704.jar". replace official bsf 2.4 version (which contains official engines "bsf_log" , "bsf_logfactory").
the mentionned jar has issues.
anyway performance , date code, better use jsr223 sampler + groovy + fill in compilation cache key
Comments
Post a Comment