Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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

     

  2. 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

  1. Clone the Performance Analysis Project

    Code Block
    git clone https://github.com/fcrepo4-labs/fcrepo_perf_analysis.git


  2. Download and install the latest version of R (3.4.0)

  3. 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.

    1. dbernstein:  I was unable to get past the column checking step 

      Code Block
    > R > install.packages("ggplot2") > install.packages("knitr") > install.packages("rmarkdown") > install.packages("svglite")
    1. 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!"


    2. Share Your Results with the Community