artilleryio / artillery-core

artillery-core - deprecated
Mozilla Public License 2.0
29 stars 105 forks source link

Expose http response body to afterResponse #198

Closed matt-blanchette closed 7 years ago

matt-blanchette commented 7 years ago

The http response body is only debug logged, but it can be useful in afterResponse functions, especially for binary responses.

hassy commented 7 years ago

It is available: https://artillery.io/docs/http-reference/#function-signatures - unless you have found a bug where it should be but isn't?

matt-blanchette commented 7 years ago

Yes, you are correct, I missed the response.body, Perfect.