You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jason Dick <ja...@yahoo.com> on 2008/06/16 21:02:58 UTC

LDAP Extended Request - Search

The LDAP Extended 
Request when set to 'Search test' does not return the results of the LDAP 
query.  Can anyone give me more information on how I can get the results 
returned?
 
Here's what I have 
set:
- Search 
test
- Search Base - 
ou=locator, o=company.com
- Search Filter:  
(&(priid=${user}))
- Scope:  Perform 
Subtree Search
- Return 
object
- Dereference 
aliases
- Parse the search 
results?
 
The data exists in 
the LDAP directory.  The search returns successfully but I never get the data.  
I have verified with wireshark that the data is not returned.  Checking or 
unchecking 'return object' has no effect on the results.  I am running this on 
Windows 2000 and Windows XP with java version "1.6.0_05".
 
I was wondering if 
any one else is using the LDAP Extended Request's search function to return 
results and how you got it work.  
 
Jason


      

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: LDAP Extended Request - Search

Posted by sebb <se...@gmail.com>.
On 17/06/2008, sebb <se...@gmail.com> wrote:
> On 16/06/2008, Jason Dick <ja...@yahoo.com> wrote:
>  > The LDAP Extended
>  >  Request when set to 'Search test' does not return the results of the LDAP
>  >  query.  Can anyone give me more information on how I can get the results
>  >  returned?
>  >
>  >  Here's what I have
>  >  set:
>  >  - Search
>  >  test
>  >  - Search Base -
>  >  ou=locator, o=company.com
>  >  - Search Filter:
>  >  (&(priid=${user}))
>
>
> Are you sure that is correct?
>
>  Try using a fixed value first.
>
>
>  >  - Scope:  Perform
>  >  Subtree Search
>  >  - Return
>  >  object
>  >  - Dereference
>  >  aliases
>  >  - Parse the search
>  >  results?
>
>
> Must be set true in order to add the results to the XML response.
>

Further investigation shows that a search may respond successful, but
return no results.

Also, unless "Parse results" is set to true, the result data set is
not currently examined in any way. I suspect this is why Wireshark
does not show any data being returned.

I think the search function should probably be updated to at least
check if there are  any results, even if parse results is not enabled.
I'm looking into this.

>
>  >  The data exists in
>  >  the LDAP directory.  The search returns successfully but I never get the data.
>  >  I have verified with wireshark that the data is not returned.  Checking or
>  >  unchecking 'return object' has no effect on the results.  I am running this on
>  >  Windows 2000 and Windows XP with java version "1.6.0_05".
>  >
>  >  I was wondering if
>  >  any one else is using the LDAP Extended Request's search function to return
>  >  results and how you got it work.
>
>
> Worked OK for me.
>
>
>  >  Jason
>  >
>  >
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: LDAP Extended Request - Search

Posted by sebb <se...@gmail.com>.
On 16/06/2008, Jason Dick <ja...@yahoo.com> wrote:
> The LDAP Extended
>  Request when set to 'Search test' does not return the results of the LDAP
>  query.  Can anyone give me more information on how I can get the results
>  returned?
>
>  Here's what I have
>  set:
>  - Search
>  test
>  - Search Base -
>  ou=locator, o=company.com
>  - Search Filter:
>  (&(priid=${user}))

Are you sure that is correct?

Try using a fixed value first.

>  - Scope:  Perform
>  Subtree Search
>  - Return
>  object
>  - Dereference
>  aliases
>  - Parse the search
>  results?

Must be set true in order to add the results to the XML response.

>  The data exists in
>  the LDAP directory.  The search returns successfully but I never get the data.
>  I have verified with wireshark that the data is not returned.  Checking or
>  unchecking 'return object' has no effect on the results.  I am running this on
>  Windows 2000 and Windows XP with java version "1.6.0_05".
>
>  I was wondering if
>  any one else is using the LDAP Extended Request's search function to return
>  results and how you got it work.

Worked OK for me.

>  Jason
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org