Is there any efficient way to identify list of skipped policies for logging purpose ?

Not applicable

I want to log all the policies which are skipped during execution. Is there a way to do so ?

0 3 354
3 REPLIES 3

Not applicable

Hi @utsav kansara,

I don't think there is any way to get list of skipped policies. Trace tool shows such list as it captures much more information. Policies are skipped based on result of condition associated to them.

Could you elaborate why you are looking for such information?

Cheers, Rajesh Doda

@utsav kansara

Hi Utsav,

In one of the apigee version, the analytics will also log the time taken by each policy. I guess, from that data, you can find the skipped policies (i.e. time = 0 ms)

Not applicable

Hi @utsav kansara,

If the reason for looking at skips policies is to evaluate code coverage during your testing, there is a tool available that can help you evaluate that.

https://github.com/apigee/apigee-proxy-coverage.

This will give you a report after the test suite is run to give you a graph of your code coverage and the policies that are not tested / covered during your testing.

Hope this helps.