jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: TCP Sampler
Date Sat, 27 Jun 2009 16:40:16 GMT
On 27/06/2009, smartfish <solanki.rohan@gmail.com> wrote:
>
>  Hi,
>
>   My server responds to the user with a message that is appended by "\r\n" ,
>  so how do i set tcp.eolbyte to  "\r\n" in jmeter.properties file .

You can't, because that is two bytes.

However you can set it to "\n", which is 10.

>  Thanks in advance...
>
>
>
>  smartfish wrote:
>  >
>  > Thanks for the reply....
>  >     According to what i have tried, users fire commands to the server and
>  > then all the users exit. So when the server tries to write a response to
>  > all the users it gives an write socket error. So i want to continuously
>  > run all the users. And also when the user connects to the server, for
>  > successful connection user receives 200 Ok (which my server does not send)
>  > and this 200 ok is shown in the Results tree. And the other commands that
>  > the server sends are not shown in the Results tree.
>  >
>  > Which listener will help me.... Totally confused....%-|
>  >
>  >
>  >
>  > sebb-2-2 wrote:
>  >>
>  >> On 25/06/2009, smartfish <solanki.rohan@gmail.com> wrote:
>  >>>
>  >>>  Thanks for the reply,
>  >>>
>  >>>       Information you gave is very useful.
>  >>>  When a user connects, i don't want to disconnect the socket. The user
>  >>> should
>  >>>  wait for every reply that comes from the user. Because my server
>  >>>  continuously sends response to each user that is connected to it. So if
>  >>>  there are 10 user's in a Thread Group, i want these users to connect
>  >>> and
>  >>>  wait for the server responses.
>  >>
>  >> That's what the TCP Sampler does.
>  >>
>  >>>  Also i want to write the response to a file
>  >>>  (single file will do.) .
>  >>
>  >> That's what Listeners are for.
>  >>
>  >>>  When my server replies to the user it gives socket write error, so i
>  >>> want
>  >>>  each user connectionn to be alive..
>  >>>
>  >>> How can i do this.....
>  >>>
>  >>>
>  >>> Thanks in advance....
>  >>>
>  >>>
>  >>>  sebb-2-2 wrote:
>  >>>  >
>  >>>  > On 24/06/2009, smartfish <solanki.rohan@gmail.com> wrote:
>  >>>  >>
>  >>>  >>  HI all,
>  >>>  >>   I am new to JMeter .... I want to open a socket connection
and
>  >>> then
>  >>>  >> fire
>  >>>  >>  100's of commands through that socket connection.. I am using
TCP
>  >>>  >> Sampler to
>  >>>  >>
>  >>>  >> test this. I have created a thread group of 100 users. Then in
that
>  >>>  >> thread
>  >>>  >>
>  >>>  >> group i have created a tcp sampler which creates socket connection
>  >>>  >> without
>  >>>  >>  firing any command. How can i fire more commands using the same
>  >>> socket
>  >>>  >>  connection. Please help me...
>  >>>  >
>  >>>  >
>  >>> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#TCP_Sampler
>  >>>  >
>  >>>  > Parameters: Re-use connection
>  >>>  >
>  >>>  >>  At the start even if there is one user that fires 100 commands
will
>  >>> do..
>  >>>  >> How
>  >>>  >>  can i do this....
>  >>>  >>
>  >>>  >>
>  >>>  >>  Thanks in advance..
>  >>>  >>
>  >>>  >>
>  >>>  >>  --
>  >>>  >>  View this message in context:
>  >>>  >> http://www.nabble.com/TCP-Sampler-tp24183874p24183874.html
>  >>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>>  >>
>  >>>  >>
>  >>>  >>
>  >>> ---------------------------------------------------------------------
>  >>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>>  >>  For additional commands, e-mail:
>  >>> jmeter-user-help@jakarta.apache.org
>  >>>  >>
>  >>>  >>
>  >>>  >
>  >>>  > ---------------------------------------------------------------------
>  >>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>>  >
>  >>>  >
>  >>>  >
>  >>>
>  >>>
>  >>> --
>  >>>  View this message in context:
>  >>> http://www.nabble.com/TCP-Sampler-tp24183874p24206512.html
>  >>>
>  >>> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>>
>  >>>
>  >>>  ---------------------------------------------------------------------
>  >>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>>
>  >>>
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >>
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/TCP-Sampler-tp24183874p24233945.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
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