jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Poce" <edgarp...@gmail.com>
Subject Re: Looking for benchmarks and references
Date Thu, 30 Mar 2006 23:00:22 GMT
Hi Jean,

When I wrote the jmeter extension the beanshell support in jmeter
wasn't working very well, at least I couldn't make it work :). Now it
works fine, so I recommend you to use Beanshell scripts. see
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Sampler.

In case you still prefer to use the jmeter extension under contrib, I
just committed a simple test plan. see
\contrib\jcr-commands\src\jmeter test plan.jmx

Bellow you can see the needed dependencies for either approach.

br,
edgar


under /jmeter/lib

  -- jackrabbit
  commons-collections-3.1.jar
  concurrent-1.3.4.jar
  derby-10.1.1.0.jar
  geronimo-spec-jta-1.0-M1.jar
  jackrabbit-1.0-SNAPSHOT.jar
  jcr-1.0.jar
  log4j-1.2.8.jar
  lucene-1.4.3.jar
  slf4j-log4j12-1.0.jar
  xercesImpl-2.6.2.jar
  xmlParserAPIs-2.6.2.jar

  -- jmeter extension under contrib
  commons-chain-1.0.jar
  commons-jexl-1.0.jar

  -- beanshell
  bsh-2.0b4.jar


under /jmeter/lib/ext
  -- jmeter extension under contrib
  jcr-commands-1.0-SNAPSHOT.jar
  jmeter-chain-1.0-dev.jar

On 3/30/06, Jean-Baptiste Quenot <jbq@apache.org> wrote:
> * Jean-Baptiste Quenot:
>
> > BTW I have found a JMeter-based benchmark tool in
> > contrib/jcr-commands/jmeter-chain that I can use to do the
> > benchmark myself ;-)
>
> I need help to have the jmeter benchmark tool running.  Here's
> what I've done:
>
> 1)  checkout jackrabbit
> 2)  cd trunk/jackrabbit
> 3)  maven
> 4)  ../contrib/jcr-commands/jmeter-chain
> 5)  fetch JMeter libs by hand and put them in ~/.maven as they
>     don't appear in the apache repo
> 6)  cp ../maven.xml . ; maven
>     Note that maven.xml is missing in jmeter-chain
> 7)  cd .. ; maven
> 8)  Copy built libs to jmeter/lib/ext:
>     jcr-commands-1.0-SNAPSHOT.jar
>     jmeter-chain-1.0-dev.jar
> 9)  Copy dependencies to jmeter/lib:
>     commons-jelly-20030902.160215.jar
>     commons-jelly-20030902.160215.jar.md5
>     commons-jelly-tags-xml-20040613.030723.jar
>     commons-jelly-tags-velocity-20030303.205659.jar.md5
>     commons-jelly-tags-velocity-20030303.205659.jar
>     commons-jelly-tags-log-20030211.142821.jar.md5
>     commons-jelly-tags-log-20030211.142821.jar
>     commons-jelly-tags-jsl-20030211.143151.jar.md5
>     commons-jelly-tags-jsl-20030211.143151.jar
>     commons-jelly-tags-interaction-20030211.143817.jar.md5
>     commons-jelly-tags-interaction-20030211.143817.jar
>     commons-jelly-tags-antlr-20030211.143720.jar.md5
>     commons-jelly-tags-antlr-20030211.143720.jar
>     commons-jelly-tags-xml-20040613.030723.jar.md5
>     commons-jexl-1.0.jar
>     commons-chain-1.0.jar
>     jcr-1.0.jar
>     commons-beanutils-1.7.0.jar
>     commons-cli-1.0.jar
> 10) Use trunk/contrib/jcr-commands/benchmarking/read\ and\ write.jmx
>     to run jmeter.  This test file comes from revision 292737 as
>     this directory has been removed inbetween.
>
> The test appears in JMeter but I get an NPE when running the test:
>
> 2006/03/30 17:20:35 ERROR - jmeter.protocol.java.sampler.ChainSampler: Unable to run
test java.lang.NullPointerException
>         at java.io.File.<init>(File.java:180)
>         at org.apache.jackrabbit.command.cli.SourceCommand.execute(SourceCommand.java:58)
>         at org.apache.jmeter.protocol.java.sampler.ChainSampler.sample(ChainSampler.java:159)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
>         at java.lang.Thread.run(Thread.java:534)
>
> Any idea?  Anybody running the test successfully?  How to specify
> the location of the repository?
> --
> Jean-Baptiste Quenot
> http://caraldi.com/jbq/
>

Mime
View raw message