/ldap-jmeter

A jmeter test case for ldap

Description

This jmeter test case is used to test an ldap user directory perfoming the following operations:

  1. Add user (with attributes cn, sn, userPassword, mail)
  2. modify the user just created by changing the mail attribute
  3. search the user with the modified mail attribute
  4. delete the user created

The 4 operations are executed sequentially by a certain number of parallel users (threads) that can be specified as parameter. The number of times that the 4 operations are executed sequentially can be also specificed as parameter.

Usage

The test case can be launched by GUI or by command line. By command line you can specify the following parameters:

  • ldap.server (default localhost)
  • ldap.port (default 1389)
  • ldap.base (default ou=users,dc=csde,dc=esa,dc=int)
  • ldap.admin (default cn=admin)
  • ldap.pass (default password)
  • ldap.threads (default 10)
  • ldap.rampup (default 0)
  • ldap.loop (default 10)
  • ldap.report (default C:\TEMP\report.jtl)

An example by command line would be:

jmeter.bat -n -t opendj.jmx -Jldap.server=opendj -Jldap.pass=mypassword