blob: 5791516b1b6062309f076e6bf3002c08493ae888 [file] [log] [blame]
<div class="wiki-content maincontent"><h2>Load Testing with Camel</h2>
<p>It is preferable at the time of writing to check out the source of ActiveMQ and Camel and perform local builds first.</p>
<p>Then run a broker either via the <strong>bin/activemq</strong> script or you could be untar/unzip the <strong>assembly/target/apache-activemq</strong>.tar.gz* file first then run its <strong>bin/activemq</strong> script.</p>
<p>Now to run a load test type</p>
<structured-macro ac:macro-id="b1dce596-fa06-41a0-8d09-7759435d21d7" ac:name="code" ac:schema-version="1"><plain-text-body>
activemq/activemq-camel-loadtest&gt; mvn test -Dtest=LocalBrokerParallelProducerLoadTest
</plain-text-body></structured-macro>
<p>If you want to tinker with the configuration of ActiveMQ and Camel then edit the LocalBrokerParallelProducerLoadTest-context.xml file.</p></div>