Skip to content

kaecius/cmis-jmeter-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cmis bench JMeter by a given path

Description

This is a CMIS benchmark using JMeter script, is modified for creating documents and folders in a specified path given by a path property in a .jmx file.

Requirement

Configuration

Copy the build.properties.sample into build.properties and edit:

jmeter.home
full path to the jmeter home
username, password, base_url
access to the CMIS server
size_kb
average size in KB of the content of created document
threads
number of concurrent threads
rampup
Ramp-Up period in seconds, this tells JMeter how long to take to launch the concurrent threads
duration
total duration of the bench
loop
number of time the scenario is repeated (not used by default the duration mode is used)

Building and deploying

Make sure you are allowed to write into the $JMETER_HOME/lib/junit folder (ant deploy will copy generated jars in that folder):

ant deploy

Running the bench with ant

ant run

This produce a basic html report.

Running the bench with the JMeter GUI

Load the ./loadtests/cmis-bench.xml file.

Edit the “Parameters user defined variables”. For instance the default value for ${__property(rampup,RAMPUP,4)} is 4.

Running the junit test with maven

This will use the default properties hard coded in the junit test.

mvn test

  • TODO
    • Add path param to build.xml for console testing with ant

About

JMeter benchmark script for CMIS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%