As message preparation logic and JMS/MQ activity usages are very common in Internal Audit Sink policy, do you know a good approach to measure the performance of that policy?
Release : 10.1
If you want to audit the audit sink policy you could use the ${assertion.latency.ms} context variable to log the routing latency for the JMS or MQ routing assertions. You can find information on using this variable for capturing assertion latency in the docs:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/congw-10-1/policy-assertions/assertion-latency.html
You can also use ${request.elapsedTime) to record timings at specific points and then calculate the difference between them in post processing. One could use XPath to calculate the delta during processing but that just adds a bunch of latency.