Java Doc for BaseJMSSampler.java in  » Testing » jakarta-jmeter » org » apache » jmeter » protocol » jms » 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.jms.sampler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jmeter.samplers.AbstractSampler
   org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler

All known Subclasses:   org.apache.jmeter.protocol.jms.sampler.SubscriberSampler,  org.apache.jmeter.protocol.jms.sampler.PublisherSampler,
BaseJMSSampler
abstract public class BaseJMSSampler extends AbstractSampler implements TestListener(Code)

author:
   pete
author:
   BaseJMSSampler is an abstract class which provides implementation for common
author:
   properties. Rather than duplicate the code, it's contained in the base class.


Field Summary
final public static  Stringnot_req
    
final public static  Stringrequired
    

Constructor Summary
public  BaseJMSSampler()
    

Method Summary
public  StringgetConnectionFactory()
    
public  intgetIterationCount()
    
public  StringgetIterations()
    
public  StringgetJNDIInitialContextFactory()
     method returns the initial context factory for jndi initial context lookup.
public  StringgetPassword()
    
public  StringgetProviderUrl()
    
public  StringgetReadResponse()
    
public  booleangetReadResponseAsBoolean()
    
public  StringgetTopic()
    
public  StringgetUseAuth()
    
public  StringgetUseJNDIProperties()
     return whether the sampler should use properties file instead of UI parameters.
public  booleangetUseJNDIPropertiesAsBoolean()
     return the properties as boolean true/false.
public  StringgetUsername()
    
public  SampleResultsample(Entry e)
    
public  voidsetConnectionFactory(String factory)
    
public  voidsetIterations(String count)
    
public  voidsetJNDIIntialContextFactory(String icf)
    
public  voidsetPassword(String pwd)
    
public  voidsetProviderUrl(String url)
    
public  voidsetReadResponse(String read)
    
public  voidsetTopic(String topic)
    
public  voidsetUseAuth(String auth)
    
public  voidsetUseJNDIProperties(String properties)
    
public  voidsetUsername(String user)
    
abstract public  voidtestEnded(String host)
    
abstract public  voidtestEnded()
    
abstract public  voidtestIterationStart(LoopIterationEvent event)
    
abstract public  voidtestStarted(String host)
    
abstract public  voidtestStarted()
    

Field Detail
not_req
final public static String not_req(Code)



required
final public static String required(Code)




Constructor Detail
BaseJMSSampler
public BaseJMSSampler()(Code)




Method Detail
getConnectionFactory
public String getConnectionFactory()(Code)
return the connection factory parameter used to lookup the connection factory from the JMS server the connection factory



getIterationCount
public int getIterationCount()(Code)
return the number of iterations as int instead of string the number of iterations as int instead of string



getIterations
public String getIterations()(Code)
get the iterations as string the number of iterations



getJNDIInitialContextFactory
public String getJNDIInitialContextFactory()(Code)
method returns the initial context factory for jndi initial context lookup. the initial context factory



getPassword
public String getPassword()(Code)
return the password used to login to the jms server the password used to login to the jms server



getProviderUrl
public String getProviderUrl()(Code)
method returns the provider url for jndi to connect to the provider URL



getReadResponse
public String getReadResponse()(Code)
return whether the sampler should read the response whether the sampler should read the response



getReadResponseAsBoolean
public boolean getReadResponseAsBoolean()(Code)
return whether the sampler should read the response as a boolean value whether the sampler should read the response as a boolean value



getTopic
public String getTopic()(Code)
return the topic used for the benchmark the topic



getUseAuth
public String getUseAuth()(Code)
return whether jndi requires authentication whether jndi requires authentication



getUseJNDIProperties
public String getUseJNDIProperties()(Code)
return whether the sampler should use properties file instead of UI parameters. whether the sampler should use properties file instead of UI parameters.



getUseJNDIPropertiesAsBoolean
public boolean getUseJNDIPropertiesAsBoolean()(Code)
return the properties as boolean true/false. whether the sampler should use properties file instead of UI parameters.



getUsername
public String getUsername()(Code)
return the username used to login to the jms server the username used to login to the jms server



sample
public SampleResult sample(Entry e)(Code)



setConnectionFactory
public void setConnectionFactory(String factory)(Code)
set the connection factory for
Parameters:
  factory -



setIterations
public void setIterations(String count)(Code)
set the number of iterations the sampler should aggregate
Parameters:
  count -



setJNDIIntialContextFactory
public void setJNDIIntialContextFactory(String icf)(Code)
set the initial context factory
Parameters:
  icf -



setPassword
public void setPassword(String pwd)(Code)
Set the password to login to the jms server
Parameters:
  pwd -



setProviderUrl
public void setProviderUrl(String url)(Code)
set the provider user for jndi
Parameters:
  url - the provider URL



setReadResponse
public void setReadResponse(String read)(Code)
set whether the sampler should read the response or not
Parameters:
  read - whether the sampler should read the response or not



setTopic
public void setTopic(String topic)(Code)
set the topic
Parameters:
  topic -



setUseAuth
public void setUseAuth(String auth)(Code)
Set whether authentication is required for JNDI
Parameters:
  auth -



setUseJNDIProperties
public void setUseJNDIProperties(String properties)(Code)
if the sampler should use jndi.properties file, call the method with true
Parameters:
  properties -



setUsername
public void setUsername(String user)(Code)
set the username to login into the jms server if needed
Parameters:
  user -



testEnded
abstract public void testEnded(String host)(Code)



testEnded
abstract public void testEnded()(Code)



testIterationStart
abstract public void testIterationStart(LoopIterationEvent event)(Code)



testStarted
abstract public void testStarted(String host)(Code)



testStarted
abstract public void testStarted()(Code)




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