Pinned topic datapower transaction processing times
Q1)i was able to acheive the transaction start and end times using xsl/ dp:time-value() defined in a Transform action; at the being of Request Rule and end of Response Rule.
Any suggestions/comments on this approach ?
Q2) Now transaction times for calls/actions in-between ? please suggest how, i can track these times.
(I can definetly put the same transform action before and after the in-between calls/actions(aaa, sql), but i am introduction some latency and thus will not be accurate; and dont thik it is an approach, if there are 10's of calls in-between.)
Not sure, if i can use the dp service latency varibales(time-elapsed).
ted.jump 060000C9G6291 PostsACCEPTED ANSWER
Re: datapower transaction processing times2013-10-31T20:50:08Z in response to SystemAdmin
re:Q2: look up the info on the DP latency data that you can get logged, it has some detail that you may find useful.
I wrote a perl script that parses the log data and generates a lame CSV with the latency values ordered in a more natural sequence to ease understanding. I needed this during some current performance analysis work. I really need to upgrade the script to write the xls file directly. Samples attached, in case you're curious.
re:Q1: if you only need the elapsed time of the rule then try the system variable
It's ms since the tx started.
If you need to actually record the start- and ending- ms marker then I think you've got what you need.