On 5 October 2013 04:56, Sato Takanobu <[email protected]> wrote:
> I am using TCP Sampler for performance test.
> My test target application receives the 10 bytes data from JMeter, and
> returns 10 bytes data.
>
> If I set 2000(ms) to response timeout field for example, response time
> shown in Aggregate Report always becomes 2000.
> (if I set 0 to response timeout field, sampler never return the result.)

That is because JMeter does not detect the end of the response.

> I expect that when TCP Sampler receives the 10 bytes response, it returns
> the result and finishes.

How is the sampler supposed to know that the response is complete?

> How about adding the field of response size to TCP Sampler?

That would be one way to do it, but it seems like a very specific use
case for which you should be writing your own implementation.

Is there anything in the response that indicates when it is complete?
e.g. a fixed byte at the end, or an initial length prefix?

> Regards,
> Sato

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to