Interface TCPClient

    • Method Detail

      • setupTest

        void setupTest()
        Versions of JMeter after 2.3.2 invoke this method when the thread starts.
      • teardownTest

        void teardownTest()
        Versions of JMeter after 2.3.2 invoke this method when the thread ends.
      • read

        String read​(InputStream is)
             throws ReadException
        Parameters:
        is - - InputStream for socket
        Returns:
        String read from socket
        Throws:
        ReadException - exception that can contain partial response (Response until error occured)
      • getEolByte

        byte getEolByte()
        Get the end-of-line/end-of-message byte.
        Returns:
        Returns the eolByte.
      • getCharset

        String getCharset()
        Get the charset.
        Returns:
        Returns the charset.
      • setEolByte

        void setEolByte​(int eolInt)
        Set the end-of-line/end-of-message byte. If the value is out of range of a byte, then it is to be ignored.
        Parameters:
        eolInt - The value to set