Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Trace capture policy not setting/showing variables

I want to know what is expected when I use this policy to set those variables as follows

I added this policy as the last step in my postFlow

I have an issue with viewing them in the debugging session and even if I download the debugging session file

<?xml version="1.0" encoding="UTF-8"?>
<TraceCapture continueOnError="true" enabled="true" name="TraceCapture-RequestResponse">
<DisplayName>Trace Request and Response</DisplayName>
<Variables>
<!-- Capturing the request path -->
<Variable name="trace-request-path" ref="request.url">/default-path</Variable>

<!-- Capturing a unique request ID -->
<Variable name="trace-request-id" ref="request.header.X-Request-ID">unknown-request-id</Variable>

<!-- Capturing the response status -->
<Variable name="trace-response-status" ref="response.status.code">unknown-status</Variable>
</Variables>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<ThrowExceptionOnLimit>false</ThrowExceptionOnLimit>
</TraceCapture>

0 6 225
6 REPLIES 6