Java Doc for LDAPSampler.java in  » Testing » jakarta-jmeter » org » apache » jmeter » protocol » ldap » sampler » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » jakarta jmeter » org.apache.jmeter.protocol.ldap.sampler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jmeter.samplers.AbstractSampler
   org.apache.jmeter.protocol.ldap.sampler.LDAPSampler

LDAPSampler
public class LDAPSampler extends AbstractSampler (Code)
Ldap Sampler class is main class for the LDAP test. This will control all the test available in the LDAP Test.
author:
   T.Elanjchezhiyan(chezhiyan@siptech.co.in) - Sip Technologies and
author:
   Exports Ltd. Created Apr 29 2003 11:00 AM


Field Summary
final public static  StringADD
    
final public static  StringARGUMENTS
    
final public static  StringBASE_ENTRY_DN
    
final public static  StringDELETE
    
final public static  StringMODIFY
    
final public static  StringPORT
    
final public static  StringROOTDN
    
final public static  StringSEARCHBASE
    
final public static  StringSEARCHFILTER
    
final public static  StringSERVERNAME
    
final public static  StringTEST
    
final public static  StringUSER_DEFINED
    

Constructor Summary
public  LDAPSampler()
    

Method Summary
public  ArgumentsgetArguments()
     Gets the Arguments attribute of the LdapConfig object. the arguments.
public  StringgetBaseEntryDN()
     Gets the BaseEntryDN attribute of the LDAPSampler object.
public  StringgetLabel()
    
public  StringgetPassword()
     Gets the password attribute of the LDAP object.
public  StringgetPort()
     Gets the Port attribute of the LDAPSampler object.
public  StringgetRootdn()
     Gets the Rootdn attribute of the LDAPSampler object.
public  StringgetServername()
     Gets the servername attribute of the LDAPSampler object.
public  StringgetTest()
     Gets the test attribute of the LDAPSampler object.
public  booleangetUserDefinedTest()
     Gets the UserDefinedTest attribute of the LDAPSampler object. the test value true or false.
public  StringgetUsername()
     Gets the username attribute of the LDAP object.
public  SampleResultsample(Entry e)
    
public  voidsetArguments(Arguments value)
     Sets the Arguments attribute of the LdapConfig object.
public  voidsetBaseEntryDN(String newbaseentry)
     Sets the Base Entry DN attribute of the LDAPSampler object.
public  voidsetPort(String port)
     Sets the Port attribute of the ServerConfig object.
public  voidsetRootdn(String newRootdn)
     Sets the Rootdn attribute of the LDAPSampler object.
public  voidsetServername(String servername)
     Sets the Servername attribute of the ServerConfig object.
public  voidsetTest(String newTest)
     Sets the Test attribute of the LdapConfig object.
public  voidsetUserDefinedTest(boolean value)
     Sets the UserDefinedTest attribute of the LDAPSampler object.

Field Detail
ADD
final public static String ADD(Code)



ARGUMENTS
final public static String ARGUMENTS(Code)



BASE_ENTRY_DN
final public static String BASE_ENTRY_DN(Code)



DELETE
final public static String DELETE(Code)



MODIFY
final public static String MODIFY(Code)



PORT
final public static String PORT(Code)



ROOTDN
final public static String ROOTDN(Code)



SEARCHBASE
final public static String SEARCHBASE(Code)



SEARCHFILTER
final public static String SEARCHFILTER(Code)



SERVERNAME
final public static String SERVERNAME(Code)



TEST
final public static String TEST(Code)



USER_DEFINED
final public static String USER_DEFINED(Code)




Constructor Detail
LDAPSampler
public LDAPSampler()(Code)




Method Detail
getArguments
public Arguments getArguments()(Code)
Gets the Arguments attribute of the LdapConfig object. the arguments. User defined test case.



getBaseEntryDN
public String getBaseEntryDN()(Code)
Gets the BaseEntryDN attribute of the LDAPSampler object. the Base entry DN value



getLabel
public String getLabel()(Code)
Returns a formatted string label describing this sampler a formatted string label describing this sampler



getPassword
public String getPassword()(Code)
Gets the password attribute of the LDAP object. the password



getPort
public String getPort()(Code)
Gets the Port attribute of the LDAPSampler object. the Port value



getRootdn
public String getRootdn()(Code)
Gets the Rootdn attribute of the LDAPSampler object. the Rootdn value



getServername
public String getServername()(Code)
Gets the servername attribute of the LDAPSampler object. the Servername value



getTest
public String getTest()(Code)
Gets the test attribute of the LDAPSampler object. the test value (Add, Modify, Delete and search)



getUserDefinedTest
public boolean getUserDefinedTest()(Code)
Gets the UserDefinedTest attribute of the LDAPSampler object. the test value true or false. If true it will do theUserDefinedTest else our own inbuild test case.



getUsername
public String getUsername()(Code)
Gets the username attribute of the LDAP object. the username



sample
public SampleResult sample(Entry e)(Code)



setArguments
public void setArguments(Arguments value)(Code)
Sets the Arguments attribute of the LdapConfig object. This will collect values from the table for user defined test case.
Parameters:
  value - the arguments



setBaseEntryDN
public void setBaseEntryDN(String newbaseentry)(Code)
Sets the Base Entry DN attribute of the LDAPSampler object.
Parameters:
  newbaseentry - the new Base entry DN value



setPort
public void setPort(String port)(Code)
Sets the Port attribute of the ServerConfig object.
Parameters:
  port - the new Port value



setRootdn
public void setRootdn(String newRootdn)(Code)
Sets the Rootdn attribute of the LDAPSampler object.
Parameters:
  newRootdn - the new rootdn value



setServername
public void setServername(String servername)(Code)
Sets the Servername attribute of the ServerConfig object.
Parameters:
  servername - the new servername value



setTest
public void setTest(String newTest)(Code)
Sets the Test attribute of the LdapConfig object.
Parameters:
  newTest - the new test value(Add,Modify,Delete and search)



setUserDefinedTest
public void setUserDefinedTest(boolean value)(Code)
Sets the UserDefinedTest attribute of the LDAPSampler object.
Parameters:
  value - the new UserDefinedTest value




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.