Skip to content
maniksurtani edited this page Oct 25, 2012 · 3 revisions

Prerequisites

Following tools are required to build RadarGun from sources

  • git >= 1.6.5, needed for obtaining the source code. Alternatively, a ZIPped archive of the sources can be used instead.
  • A Java Development Kit. We recommend version 1.6 or above.
  • Apache Maven >= 3.0, needed for downloading dependencies and building the source code

Download source code

Move to a directory where you will build the binaries and run:

$ git clone git://github.com/radargun/radargun.git

or

$ curl -o radargun.zip https://github.com/radargun/radargun/zipball/master
$ unzip -a radargun.zip

Compile and build distribution

$ cd  radargun
$ mvn clean install -DskipTests

This operation might take a few minutes, as it will download the dependencies needed by the various plugins (e.g., it will download Infinispan and its dependencies, EHCache and its dependencies, etc). Once the install is complete, you will find the distribution in ./target/distribution/RadarGun-<version>.zip. Unzip this on the servers you wish to run RadarGun.

Distributions's content

The distribution has the following structure:

   |-bin
   |-conf
   |-lib
   |-plugins
   |---ehcache15
   |-----conf
   |-----lib
   |---infinispan4
   |-----conf
   |-----lib
   |---jbosscache3
   |-----conf
   |-----lib

The bin directory contains scripts for launching the master, the slaves and some other utility scripts. This directory also contains scripts to run RadarGun in local mode.

For details on how to run a distributed benchmark see Distributed Benchmarks and Using The Scripts.

The conf directory contains configuration files for running distributed benchmarks (benchmark.xml), local benchmarks (local-benchmark.xml) and the log4j cofiguration file.

The plugins directory contains a directory for each (product,version) combo that can be benchmarked.

Clone this wiki locally