You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by smartfish <so...@gmail.com> on 2009/06/24 14:30:21 UTC
TCP Sampler
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 am 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...
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
Re: TCP Sampler
Posted by smartfish <so...@gmail.com>.
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 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 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-tp24183874p24218717.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Re: TCP Sampler
Posted by smartfish <so...@gmail.com>.
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 <so...@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 <so...@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-tp24183874p24218715.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
Re: TCP Sampler
Posted by sebb <se...@gmail.com>.
On 27/06/2009, smartfish <so...@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 <so...@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 <so...@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
Re: TCP Sampler
Posted by smartfish <so...@gmail.com>.
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 .
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 <so...@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 <so...@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
Re: TCP Sampler
Posted by smartfish <so...@gmail.com>.
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 <so...@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 <so...@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-tp24183874p24218696.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
Re: TCP Sampler
Posted by sebb <se...@gmail.com>.
On 25/06/2009, smartfish <so...@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 <so...@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
Re: TCP Sampler
Posted by smartfish <so...@gmail.com>.
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. Also i want to write the response to a file
(single file will do.) .
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 <so...@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
Re: TCP Sampler
Posted by sebb <se...@gmail.com>.
On 24/06/2009, smartfish <so...@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