On 1 October 2013 19:49, Flavio Cysne <[email protected]> wrote:
> Use Beanshell Post-Processor, inside the sample you want its body length,
> with the code below:
>
> response = prev.getResponseDataAsString();
> data_length = new Integer(response.length());
> vars.put("data_length", data_length.toString());
Or just use:
data_length = prev.getBytes();
> Then, you can use ${data_length} variable as desired.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]