Skip to content

testify/LdapTestProcessor

Repository files navigation

LdapProcessor Build Status

Testify Processor for interacting with the LDAP Protocol

Usage

LdapProcessor

Binds to a running ldap instance defined in <endpoint></endpoint> ####Parameters The following parameters are supported in the within <test></test>

  • operation: LDAP Operation to perform (Supported values: add, modify delete)
  • bindDn: DN of for a user to perform LDAP operations
  • password: Password corresponding to the user defined in bindDN
  • file: Ldif file to be used

Example

LDAP Add

<testcase>
  <type>LdapProcessor</type>
  <endpoint>localhost:389</endpoint>
    <test>
      <operation>add</operation>
      <bindDn>cn=admin,ou=users,dc=example,dc=com</bindDn>
      <password>admin</password>
      <file>foo.ldif</file>
    </test>
</testcase>

add.ldif

dn: uid=testuser1,ou=users,dc=example,dc=com
objectClass: top
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
cn: Test User
sn: testuser1
givenName: Test User
mail: testuser1@example.com
uid: testuser1

About

DEPRECATED -- moved to testify/Processors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages