Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
I am working with an API request which returns a file in encrypted format when sending a request manually from Postman. Also Content-Type of response header as ‘application/zip’. Postman takes few seconds to show response as the file size is close to 10MB.
Now when the same API request is made through collection runner, execution is getting stop at this request with response code as 200. Content-Type of response header as ‘application/json; charset=utf-8’ instead of ‘application/zip’. I have kept setTimeout(function(){}, [10000]); under Tests tab as well thinking this request takes time to respond. Still no luck.
I want to validate Content-Type and Content-Disposition of response header.