Hello,
I was looking at the timestamp flow variables available to be used in a messageLogging policy. I wanted to calculate some metrics based on these timestamps in an external tool.
It looks like my client sent.end and sent.start are always empty no matter what.
client.sent.end.timestamp | -1 | GET |
client.sent.start.timestamp | -1 | GET |
I created some assign message policy to assign some debug variables and I placed it at all sections of the flow (Request-preflow, request-postflow, response-preflow, response-postflow). No matter what the values are always empty.
The variables with debug.* are my tests. Here is the flow:
What am I missing here?
Thank you to anyone who has ideas.
Solved! Go to Solution.
Hello all. Thank you for the comments.
I figured this out. The reason why I was not seeing the timestamps populated is because the logging policy was executed in "PostFlow" flow and not the "PostClientFlow".
When I was reading the documentation I thought that PostClientFlow = PostFlow. I have since discovered this is not the case. This makes me wonder what other flows are hidden?
Also, I am not clear on what the difference between Postflow and PostClientFlow really is.
I added the following to the proxy config:
<PostClientFlow name="PostClientFlow">
<Request/>
<Response>
<Step>
<Name>FC-logging</Name>
</Step>
</Response>
</PostClientFlow>
Thank you all
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |