On 1 July 2015 at 21:51, Hrishikesh P <[email protected]> wrote:
> Hello,
>
> Is there a way to "tell" Jmeter to also recursively scan subdirectories for
> any jars to include in the classpath?

No.

> I am trying to run my JUnits through
> JMeter, but keep getting ClassNotFoundException, which goes away when I
> include the relevant jar in the lib/junit directory of jmeter.

JMeter is not a general purpose unit-testing application.

You may find it easier to invoke JUnit via Maven with the appropriate
dependencies in the POM.

Or you may perhaps be able to run JMeter via Maven; I've no idea if
that would set up the classpath correctly or not.
Might be worth trying with a simple test case that only needs a single jar.

> I cannot repeat this process for each and every jar. If I could, I would
> just like to specify the .m2/repository directory in the user classpath and
> move on to the actual load testing.

> Thanks much in advance!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to