jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hrishikesh P <>
Subject Re: Class path include sub-directories
Date Thu, 02 Jul 2015 17:02:03 GMT
Thanks. I'm aware that JMeter is not a general purpose unit-testing
application and I'm not trying to use it as such, but I also found
references on the Internet to a JUnit Request sampler that I thought I
could use to load test my app via JUnits.

Uber jar will probably work since previously the errors disappeared when
the jar in question was added to the lib folder, but specifying recursive
directories seemed like a simpler and better approach. Too bad it is not

I appreciate the reply.

On Wed, Jul 1, 2015 at 6:05 PM, sebb <> wrote:

> On 1 July 2015 at 21:51, Hrishikesh P <> 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message