[2.1.6] Sometimes getting NoResponseBody with extraInfoExtractor

Hello,

Using a custom ExtraInfoExtractor:

case KO => List(extraInfo.session, extraInfo.response.headers, extraInfo.response.body)

I’m getting NoResponseBody in simulation.log for a POST where I check for status and headers only:

status.is(302), header("Location").saveAs("location")

Is this expected, i.e. the response body is only ever processed if there is a check on it?
That would of course make sense from a performance point of view. The documentation could then be improved at http://gatling.io/docs/2.1.6/http/http_protocol.html?highlight=extrainfo#dumping-custom-data

Hi,

If you read the section right above the one you mentioned, you’ll have your answer :slight_smile:

Cheers,

Pierre

Awesome! You’re right, I did not realize that the response was actually chunked in that case.

Thanks,

Sebastien