Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.43 KB

README.md

File metadata and controls

76 lines (48 loc) · 2.43 KB

Alfresco Benchmark

This project provides a management application and a supporting library for development of highly scalable, easy-to-run Java-based load and benchmark tests. Maven and Java development patterns are employed so that load tests can be included in automated build plans; both for the product they are testing but also to prevent regressions in the tests.

More information on the Alfresco Wiki

Get the code

Git:

git clone https://github.com/AlfrescoBenchmark/alfresco-benchmark.git
cd alfresco-benchmark

Subversion:

svn checkout https://github.com/AlfrescoBenchmark/alfresco-benchmark.git
cd alfresco-benchmark

Use Maven

1.Build

mvn clean install

2.Check availability of MongoDB server

mongo \<mongo-host\>    
exit

3.Start server

cd server   
mvn tomcat7:run -Dmongo.config.host=\<mongo-host\>

4.Start sample load driver

cd ../sample    
mvn tomcat7:run -Dmongo.config.host=\<mongo-host\> 

5.Access server UI

Browse to http://localhost:9080/alfresco-benchmark-server

6.Create a Test

Click [+] if not presented with "Create Test" options.  
Fill in test details:   
    - Test Name: MyFirstTest01  
    - Test Description: Getting started 
    - Test Definition: alfresco-benchmark-bm-sample-xxx     
Click "Ok".

7.Edit test properties

It is a requirement that all test runs get told where to store the generated results.   
Change property "mongo.test.host" to your \<mongo-host\>  
Click: "MyFirstTest01" on top left

8.Create a Test Run

Click [+] if not presented with "Create Test Run" options.  
Fill in test run details:   
    - Test run name: 01     
Click "Ok".

9.Start the Test Run

Click "Play" button next to Test Run "01".  
The progress bar will auto-refresh as the test run completion estimate changes.

10.Download results

At any time - usually when the test run completes - click through on the test run.  
Click the download button and open the CSV file in a spreadsheet.