On Sun, Apr 5, 2015 at 1:59 AM, Shawn McKinney <[email protected]> wrote:
> > > On Apr 4, 2015, at 12:15 PM, Kiran Ayyagari <[email protected]> > wrote: > > > > which test is this? I will run it and see if tweaking cache config > improves it. > > one of the jmeter test cases: > > section 13 of the fortress core readme (excerpt pasted below) has some > info about. The specific test case is: > > loadtest-fortress > > which iterates over a set of users doing checkAccess. You will also need > the fortress schema and DIT setup (of course). Which can be done by > following the ’10 minute guide’. Or, I could probably just send you an > .ldif for you to use. > > The load test users (, roles and perms) are added to test directory using > this script (as described below): > > LoadTestUsers.xml > > via the fortress admin loader util, or could perhaps be more easily loaded > by you with ldif. Let me know if that is the way you want to go and I will > provide. > > thanks for the LDIF, but I used the below mentioned goal to load test data > > ___________________________________________________________________________________ > > ################################################################################### > # SECTION 13. Instructions to performance test fortress core using maven > loadtest profile and jmeter. > > ################################################################################### > > To load test fortress createSession or checkAccess performance using > jmeter: > > a. Update .jmx located under FORTRESS_HOME/src/test/jmeter folder. > > e.g. ftCheckAccess.jmx > > b. Load the security policy and users required by the jmeter test routines: > > # $M2_HOME/bin/mvn install -Dload.file=./ldap/setup/LoadTestUsers.xml > > c. From FORTRESS_HOME folder, enter the following command from a system > prompt: > > # $M2_HOME/bin/mvn -Ploadtest-ftca jmeter:jmeter > I don't see the above mentioned profile, was it renamed to 'loadtest-accel' ? and when I tried to run the test with this new name I saw this in the jmeter logs 2015/04/05 23:04:24 ERROR - jmeter.protocol.java.sampler.JavaSampler: StandardJMeterEngine@7006cfce-Accelerator CheckAccess Exception initialising: org.apache.directory.fortress.core.jmeter.CheckAccess java.lang.ClassNotFoundException: org.apache.directory.fortress.core.jmeter.CheckAccess > > Notes: > - the above maps to ftCheckAccess.jmx > - jmx files with prefex 'ac' call fortress accelerator functions > (which requires special setup NOT covered by this document) > - jmx files with prefix 'ft' are for fortress functions (which are > covered by this document) > > Thanks > > Shawn > [email protected] > > -- Kiran Ayyagari http://keydap.com
