Skip to content

fcrepo4-archive/fcrepo-test-profiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcrepo-test-profiles

Runs fcrepo performance tests against a documented test profile.

Step-by-step

  1. Provision a bunch of cluster nodes with a jvm, mvn..
  2. Currently you still need to clone and build the benchtool locally, since it is not in a maven repository.

On each node: 2. Edit your maven settings file, adding profile for local machine config:

<profile>
  <id>localhost-config</id>
  <activation><activeByDefault>true</activeByDefault></activation>
  <properties>
  
    <!-- this should be an apache host, running mod_proxy to load balance f4 nodes -->
    <fedora.host>fcrepo-access.example.com</fedora.host>
    
    <!-- local node storage, by default within target -->
    <fcrepo.store.fast>target/stores</fcrepo.store.fast>
    <fcrepo.store.slow>target/stores</fcrepo.store.slow>
    
    <!-- your cluster host name, port -->
    <jgroups.tcpping.initial_hosts>Fedora4-Master.example.com[7800]</jgroups.tcpping.initial_hosts>
  </properties>
</profile>
  1. Establish your storage location on nodes, some place like /data/tests

  2. Clone this repository into your storage location:

     git clone https://github.com/gregjan/fcrepo-test-profiles
    
  3. Run a maven build to verify it works:

     cd fcrepo-test-profiles
     mvn -U -P platform-cluster-baseline,repository-100o-50mb-3t clean verify
    

This will start and stop the Fedora webapp within Jetty, giving it the chosen configuration profiles.

  1. Run your tests by adding a workflow profile:

     mvn -U -P platform-cluster-baseline,repository-100o-50mb-3t,workflow-profile clean verify
    

About

Runs fcrepo performance tests again a documented test profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages