Hi Steve,
Catalog properties are resolved at publish time, so in your case, a GatewayScript policy with context.get('test-apim-catalog-property') will not work as that property in not in the context. What you will need to do is to first have a set-variable policy that will create a context property (you could use the same name) where the property value is specified as a variable replacement, ie $(test-apim-catalog-property'). At publish, that catalog property will be resolved, so what the Gateway will receive is a set-variable to set the variable to the catalog property value. Your GatewayScript policy would then use the variable created by the set variable policy.
Best Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------