| |
|
| 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. |
BaseJMSSampler | public BaseJMSSampler()(Code) | | |
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 |
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()(Code) | | |
testStarted | abstract public void testStarted(String host)(Code) | | |
testStarted | abstract public void testStarted()(Code) | | |
|
|
|