Layer7 API Management

Expand all | Collapse all

CA API Gateway Encode/Decode Data Assertion zip decompress

Jump to Best Answer
  • 1.  CA API Gateway Encode/Decode Data Assertion zip decompress

    Posted 05-24-2018 02:20 AM

    Hi all,

     

    I am looking at processing a zip file that has been retrieved via HTTP. To do this I am using the Encode/Decode Data Assertion's Zip Decompress option.

    This option allows(by default) to process only the first file contained in the zip file. This is working in the positive scenario when the first file is what i am interested in.
    Just wondering if there is a way to iterate through the files contained in the zip file and then process the interested file?

    Any help would be just great

    Regards,
    Ram



  • 2.  Re: CA API Gateway Encode/Decode Data Assertion zip decompress
    Best Answer

    Posted 12-18-2018 10:26 PM

    Ram,

     

    Good evening. I've reviewed through the scenario and tested in our lab. The expected results are what you are seeing with only the first file in the zip being extracted and usable. I've created a Idea in our community to allow for the assertion to extract all files in a zip archive (Encode/Decode assertion should unzip all files in a zip archive ). Please up vote the idea and add any additional insight.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support