Use third-party jar package to call custom method in jmeter

In the beanshell of jmeter, use a custom java method or introduce a third-party tool class. There are two methods of introduction.

The first is
to directly put the package in the jmemter extension package directory:
apache-jmeter-2.12\apache-jmeter-2.12\lib\ext


The second one can




then import your own classes directly in beanShell and call them just like in Java.

It should be noted that if the parameter is wrong, the imported package will be prompted to report an error, which makes people mistakenly think that an error is introduced.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326401740&siteId=291194637