jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@apache.org>
Subject Re: Looking for benchmarks and references
Date Thu, 30 Mar 2006 15:26:02 GMT
* 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