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

I don't consider to use always the same data size.
The variable, like $data_length, is set to the length field and updated
each TCP Sampler is executed.
If response size can be known beforehand or calculated before sampler
executes, all we have to do is set $data_length.
Does this seem like specific use? If so, I'm OK.

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

For example, first N bytes are fixed length, and next M bytes indicate
the following data size.

If response length is not clear, my idea cannot be applied.
But I think that the original implementation is necessary in such case.

Reply via email to