<Property name="**response.streaming.enabled">true**</Property>
<Property name="**request.streaming.enabled">true**</Property>
I have streaming enabled, i want to fetch the request and response size to log it somewhere.
var requestMessageSize = context.getVariable(“request.header.Content-Length”);
var targetMessageSize = context.getVariable(“response.header.Content-Length”);
Above code seems to be only working when streaming is turned off.
I have seen that Apigee reports are still able to have access to the sizes. Can anyone share if there is a way to fetch from some Apigee flow variables .