Benchmark Framework 2.0: Deploying Tests

Document created by derek Employee on Mar 17, 2015
Version 1Show Document
  • View in full screen mode

load testing

Deploying via the Tomcat Manager UI

Assuming Tomcat 7 has been configured to accept manager access remotely, tests can be deployed using the /manager application.  Connect to URL:


and upload the test war file.

Deploying using Maven

During development, it is simpler to deploy directly using Maven; checking out a test and building it locally will also allow Maven-based deployment.  The later is useful if a test requires code or configuration tweaks.

Define common names for the servers and capture the login details in ~/.m2/settings.xml:



Ensure that the test pom contains the following:


Projects generated using the archetype will have these included in the pom already.

Deploy with:

 mvn tomcat7:redeploy -DskipTests -Dbm.tomcat.port=9080 -Dbm.tomcat.server=bm-remote

Back: Benchmark Framework 2.0