I have a scenario, where the response is a binary file. This response has multiple zip files and each zip file has one or more json files within. Can anyone suggest how to verify this response?. Thanks in advance.
I tried karate.write(response,"response.zip") to store the response in a zip file. Zip file is getting created but when i try to unzip it has only one zipped record(where as it should have had all the zip files available in response) which is in corrupted form or with 0kb.
Note: response header: Contenty-Type: application/octet-stream