Topic
  • 3 replies
  • Latest Post - ‏2013-02-01T09:07:03Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic How to get the time duration taken by the backend to respond

‏2013-01-31T09:57:02Z |
Hi All,

I want to find the time duration taken between the request sent to the backend and the response from backend.
Is there any system/service variable which gives the time duration taken by the backend to respond.(response time by the backend)

Thanks in advance.
Updated on 2013-02-01T09:07:03Z at 2013-02-01T09:07:03Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: How to get the time duration taken by the backend to respond

    ‏2013-01-31T10:40:42Z  
    Hi,

    You can derive this from the latency logs of the respective service.

    This link will help you read the latency info -> http://www-01.ibm.com/support/docview.wss?uid=swg21239328
    Thanks,
    Vikaas
  • HermannSW
    HermannSW
    4654 Posts

    Re: How to get the time duration taken by the backend to respond

    ‏2013-01-31T22:35:51Z  
    Hi,

    You can derive this from the latency logs of the respective service.

    This link will help you read the latency info -> http://www-01.ibm.com/support/docview.wss?uid=swg21239328
    Thanks,
    Vikaas
    This might help in addition to the technote Vikaas pointed to:
    https://www.ibm.com/developerworks/mydeveloperworks/blogs/HermannSW/entry/latency_messages_in_datapower_appliance21

    What you want seems to be T(8)-T(5), but only three of the 16 timestamps are available as service variables.
    So the best approximation to what you want seems to be:
    <xsl:variable name="backend" select="dp:variable('var://service/time-response-complete') - dp:variable('var://service/time-forwarded')"/>

     
    Hermann<myXsltBlog/> <myXsltTweets/>
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: How to get the time duration taken by the backend to respond

    ‏2013-02-01T09:07:03Z  
    • HermannSW
    • ‏2013-01-31T22:35:51Z
    This might help in addition to the technote Vikaas pointed to:
    https://www.ibm.com/developerworks/mydeveloperworks/blogs/HermannSW/entry/latency_messages_in_datapower_appliance21

    What you want seems to be T(8)-T(5), but only three of the 16 timestamps are available as service variables.
    So the best approximation to what you want seems to be:
    <xsl:variable name="backend" select="dp:variable('var://service/time-response-complete') - dp:variable('var://service/time-forwarded')"/>

     
    Hermann<myXsltBlog/> <myXsltTweets/>
    Thanks Hermann and Vikaas.