Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy, if "Send Response Immediately" is checked. I want to add some custom headers for all success and failure scenarios.
It is currently operating as designed. If the send immediately box is checked on the return template assertion it will ignore any headers. We do have a feature request opened to have this added to a future release.
There is solution to this , in case if you want to add more header while sending request or response but this is not dynamic, it will be constant across all the response. Refer below base article from CA.
How to change the Server Header from "Apache-Coyote/1.1" with the CA API Management Gateway.
Retrieving data ...