getting octet-stream response


I need to grab some field into response messages.
Because it is not JSON, I cannot use for example check(jsonPath("$.Id").saveAs(“merchantId”)))
Is there a way to store/treat octet-stream response, i.e. have a custom check on it?


Nicolas Zin

There’s a bodyBytes check:
You can then use transform to process the byte array.