You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Yuval <yu...@gmail.com> on 2005/05/31 13:54:50 UTC
Socket Timeout
Hi,
I running a load test with the TCP sampler, and I'm experiencing a strange
behavior:
It seems like the minimum response time for a TCP sampler is always the
value of the TIMEOUT (which is used in *setSoTimeout* in the code).
Doesn't this value suppose to be a maximum value for a *read* to be
performed?
Thanks,
Y.
Re: Socket Timeout
Posted by sebb <se...@gmail.com>.
2008/4/21 afsilva <an...@pol.pt>:
>
>
>
>
> sebb-2-2 wrote:
> >
> > On 5/31/05, Yuval <yu...@gmail.com> wrote:
> >> Hi,
> >> I running a load test with the TCP sampler, and I'm experiencing a
> >> strange
> >> behavior:
> >> It seems like the minimum response time for a TCP sampler is always the
> >> value of the TIMEOUT (which is used in *setSoTimeout* in the code).
> >> Doesn't this value suppose to be a maximum value for a *read* to be
> >> performed?
> >> Thanks,
> >> Y.
> >>
> > Have you set the eol character?
> > It needs this to know when the response is complete ...
> >
> >
>
> Hi, I am experiencing the same beaviour but I'm sending the eol char, I mean
> byte.
>
> on the jmeter log I can see the output:
>
> ...
> 2008/04/21 17:01:01 INFO - jmeter.protocol.tcp.sampler.TCPClientImpl: Using
> eolByte=0
> ...
>
> my tcp message ends with that byte, but the response is still getting only
> after the timeout is reached.
>
> Am I missing something?
>
Yes - the code ignores the eolByte if it is zero ;-)
It was unfortunate that a valid byte value was chosen to mean ignore
EOL checking.
It was assumed that a zero byte was very unlikely to be used as an EOL byte.
> --
> View this message in context: http://www.nabble.com/Socket-Timeout-tp105444p16808257.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: Socket Timeout
Posted by afsilva <an...@pol.pt>.
sebb-2-2 wrote:
>
> On 5/31/05, Yuval <yu...@gmail.com> wrote:
>> Hi,
>> I running a load test with the TCP sampler, and I'm experiencing a
>> strange
>> behavior:
>> It seems like the minimum response time for a TCP sampler is always the
>> value of the TIMEOUT (which is used in *setSoTimeout* in the code).
>> Doesn't this value suppose to be a maximum value for a *read* to be
>> performed?
>> Thanks,
>> Y.
>>
> Have you set the eol character?
> It needs this to know when the response is complete ...
>
>
Hi, I am experiencing the same beaviour but I'm sending the eol char, I mean
byte.
on the jmeter log I can see the output:
...
2008/04/21 17:01:01 INFO - jmeter.protocol.tcp.sampler.TCPClientImpl: Using
eolByte=0
...
my tcp message ends with that byte, but the response is still getting only
after the timeout is reached.
Am I missing something?
--
View this message in context: http://www.nabble.com/Socket-Timeout-tp105444p16808257.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: Socket Timeout
Posted by sebb <se...@gmail.com>.
On 5/31/05, Yuval <yu...@gmail.com> wrote:
> Hi,
> I running a load test with the TCP sampler, and I'm experiencing a strange
> behavior:
> It seems like the minimum response time for a TCP sampler is always the
> value of the TIMEOUT (which is used in *setSoTimeout* in the code).
> Doesn't this value suppose to be a maximum value for a *read* to be
> performed?
> Thanks,
> Y.
>
Have you set the eol character?
It needs this to know when the response is complete ...
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org