Bug 35244

Summary: LDAP Sampler: Multiple values for single attribute not possible
Product: JMeter - Now in Github Reporter: Andreas Oetjen <master.of.disaster>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.0.3   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Attachments: Changed from using BasicAttributes interface to Attributes interface.

Description Andreas Oetjen 2005-06-06 19:29:08 UTC
When creating a new entry the LDAP sampler ("add test"), it is not possible to 
specify more than one value for an attribute in the table. 

Example: I want to create a new group "G" and assign two users "A" and "B" to 
this group. Therefore, I enter in the attributes table:

"name" -> "G"
"objectClass" -> "group"
"member" -> "cn=A,ou=Users,dc=domain,dc=net"
"member" -> "cn=B,ou=Users,dc=domain,dc=net"

As you can see, I somehow need to specify two values for the member attribute, 
which should be no problem in LDAP. But JMeter seems to overwrite the first 
"member" attribute, so the new Group "G" has only "B" as a member.

Or is there another syntax to specify more than one value?
Comment 1 MLowings 2006-02-09 15:55:46 UTC
Created attachment 17627 [details]
Changed from using BasicAttributes interface to Attributes interface.

Changed from using BasicAttributes interface to Attributes interface for an
LDAP CreateSubContext (add) operation
Comment 2 Sebb 2006-02-09 23:23:59 UTC
Thanks - patch applied to 2.1 branch
Comment 3 The ASF infrastructure team 2022-09-24 20:37:35 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1557