Is there a way to execute a java class from jmeter? I packed my class with the maven assembly and put it in the lib folder of JMETER_HOME. Then I created a BSF listener inside my test case and wrote:
import my.package.name.App;
my.package.name.App app = new my.package.name.App("argument1", "argument2");
Is there any other way to execute a java class or something else, perhaps with java -jar calling jar directly, this class basically creates one large file from smaller files, which locations are provided by jmeter, so it needs to be included in the test because it part of the stream.
source
share