Class JMSSampler

    • Constructor Detail

      • JMSSampler

        public JMSSampler()
    • Method Detail

      • sample

        public SampleResult sample​(Entry entry)
        Obtains statistics about the given Entry, and packages the information into a SampleResult.
        Specified by:
        sample in interface Sampler
        Parameters:
        entry - the Entry (TODO seems to be unused)
        Returns:
        information about the sample
      • setJMSProperties

        public void setJMSProperties​(JMSProperties jmsProperties)
        Parameters:
        jmsProperties - JMS Properties
      • getJNDIProperties

        public Arguments getJNDIProperties()
      • setJNDIProperties

        public void setJNDIProperties​(Arguments args)
      • getQueueConnectionFactory

        public String getQueueConnectionFactory()
      • setQueueConnectionFactory

        public void setQueueConnectionFactory​(String qcf)
      • getSendQueue

        public String getSendQueue()
      • setSendQueue

        public void setSendQueue​(String name)
      • getReceiveQueue

        public String getReceiveQueue()
      • setReceiveQueue

        public void setReceiveQueue​(String name)
      • getContent

        public String getContent()
      • setContent

        public void setContent​(String content)
      • isOneway

        public boolean isOneway()
      • isNonPersistent

        public boolean isNonPersistent()
      • isUseReqMsgIdAsCorrelId

        public boolean isUseReqMsgIdAsCorrelId()
        Which request field to use for correlation?
        Returns:
        true if correlation should use the request JMSMessageID rather than JMSCorrelationID
      • isUseResMsgIdAsCorrelId

        public boolean isUseResMsgIdAsCorrelId()
        Which response field to use for correlation?
        Returns:
        true if correlation should use the response JMSMessageID rather than JMSCorrelationID
      • getInitialContextFactory

        public String getInitialContextFactory()
      • getContextProvider

        public String getContextProvider()
      • setIsOneway

        public void setIsOneway​(boolean isOneway)
      • setNonPersistent

        public void setNonPersistent​(boolean value)
      • setUseReqMsgIdAsCorrelId

        public void setUseReqMsgIdAsCorrelId​(boolean value)
      • setUseResMsgIdAsCorrelId

        public void setUseResMsgIdAsCorrelId​(boolean value)
      • threadStarted

        public void threadStarted()
        Description copied from interface: ThreadListener
        Called for each thread before starting sampling. WARNING: this is called before any Config test elements are processed, so any properties they define will not have been merged in yet.
        Specified by:
        threadStarted in interface ThreadListener
        See Also:
        JMeterThread.threadStarted()
      • getTimeout

        public String getTimeout()
      • getExpiration

        public String getExpiration()
      • getPriority

        public String getPriority()
      • setArguments

        public void setArguments​(Arguments args)
      • setTimeout

        public void setTimeout​(String s)
      • setPriority

        public void setPriority​(String s)
      • setExpiration

        public void setExpiration​(String s)
      • getJMSSelector

        public String getJMSSelector()
        Returns:
        String JMS Selector
      • setJMSSelector

        public void setJMSSelector​(String selector)
        Parameters:
        selector - String selector
      • setInitialContextFactory

        public void setInitialContextFactory​(String string)
        Parameters:
        string - name of the initial context factory to use
      • setContextProvider

        public void setContextProvider​(String string)
        Parameters:
        string - url of the provider