Use the Benchmark Testing with Alfresco page for version compatibility.
git clone https://github.com/derekhulley/alfresco-benchmark
cd alfresco-benchmark
git tag
git checkout V2.0.1
cd server
mvn tomcat7:run -Dmongo.config.host=<mongo-host>
...
13:01:06,998 [localhost-startStop-1] [ INFO] [ MongoClientFactory: 124] - New MongoDB client created using URL: mongodb://localhost/?connectTimeoutMS=5000&socketTi
...
13:01:07,318 [localhost-startStop-1] [DEBUG] [ LifecycleController: 174] - Started components: appLifeCycleController
Oct 27, 2014 1:01:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-9080']
git clone https://github.com/derekhulley/alfresco-benchmark
cd alfresco-benchmark
git tag
git checkout V2.0.1
cd sample
mvn tomcat7:run -Dmongo.config.host=<mongo-host>
mvn tomcat7:redeploy -DskipTests -Dbm.tomcat.ip=<bmdriver-host> -Dbm.tomcat.port=9080 -Dbm.tomcat.server=bm-remote
http://bmserver-host:9080/alfresco-benchmark-server
http://bmserver-host:9080/alfresco-benchmark-server
If the test run fails to progress from SCHEDULED to STARTED, it is normally because the mongo.test.host has not been set. Currently the only way to see the error is to locate the tests log file.
If the test starts but experiences a high number of failures, the failures can be accessed directly in the MongoDB results. The video, Following up on Failures shows how this can be done. It is especially useful when the server under load starts to produce errors or fails to respond correctly. From the MongoDB console, it would look something like this:
mongo.exe <mongo-data-host>
use bm20-data
db.SAMPLE.01.find({success:false});