We have a global policy fragment-message completed on gateway version 9.0, it simply sets a few context variables and at the end there is a customize error response assertion that uses values of these context variables. When tested from a policy end point and when control flows to this global policy fragment, the customize error assertion within the global policy fragment is not displaying the values of the context variables cv_httpstatus, cv_contentType, cv_responsebody Attached are the copies of global policy fragment and the test end point.
Can anyone point out why the context variable values are not getting retrieved in the customize error assertion within the global policy fragment when it executes ?