jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: TCP/IP problem
Date Wed, 15 Feb 2006 10:33:29 GMT
You need to make sure that the TCP sampler End of line characters are
set appropriately.

S.
On 15/02/06, Aristide Moretti <armore_1972@yahoo.it> wrote:
> Hi, i have a simple java server socket
>   a part of code is :
>
>   DataInputStream is = new DataInputStream(socket.getInputStream());
>                 DataOutputStream os = new DataOutputStream(socket.getOutputStream());
>                while (true) {
>                     String userInput = is.readLine();
>                      if (userInput == null || userInput.equals("QUIT"))
>                        break;
>                      os.writeBytes(userInput + '\n');
>                      System.out.println("The client write: " + userInput);
>                  }
>
>   I want to testing this server with JMeter.
>   I create a Thread Group with TCP Sample Config, i create TCP Sampler.
>   I try to sending a string text "hello" with the TCP sampler to my server but the server
don't write to output.
>   Can help me?
>   Thanks in advance.
>
>
> ---------------------------------
> Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message