...
Download the test scripts and read the README (https://github.com/fcrepo4-labs/fcrepo4-jmeter)
Code Block git clone https://github.com/fcrepo4-labs/fcrepo4-jmeter.git
Run a test. For example:
Code Block jmeter -Dfedora_4_server=localhost -Dfedora_4_context=rest -Dfilesize_min=0 -Dfilesize_max=4096 -Dbinary_threads=1 -n -t /path/to/fcrepo4-jmeter/fedora.jmx
(dbernstein: I was not able to run this test without modifying the fedora.jmx file - namely I had to make jmeter continue on error.)
Generate Graphs Based on Your Test Data
Clone the Performance Analysis Project
Code Block git clone https://github.com/fcrepo4-labs/fcrepo_perf_analysis.git
Download and install the latest version of R (3.4.0)
Install the dependent R packages defined here: Follow steps outlined in https://github.com/fcrepo4-labs/fcrepo_perf_analysis by launching R and following the prompts after each install.packages command.
dbernstein: I was unable to get past the column checking step
Code Block
Rscript 01-check-jmeter-log.r ~/code/performance-tests/2017-03-16/log/perf.log Header check: Expected: 12 encountered: 10 [1] "Unexpected number of input fields!"
Share Your Results with the Community