Topic
  • 21 replies
  • Latest Post - ‏2014-12-05T19:46:42Z by Kumar_Y
ramgopal
ramgopal
12 Posts

Pinned topic 'Show probe' to display transaction date

‏2013-06-28T15:31:12Z |

Hi,

'Show probe' in WSP or MPGW only shows below. Is there any configuration/setting to display transaction date as well? Thanks for your time.

view 

trans# 
type 
inbound-url 
outbound-url 
rule 
client-ip 

 

Thanks

Ram

 

  • swlinn
    swlinn
    1348 Posts

    Re: 'Show probe' to display transaction date

    ‏2013-06-28T15:38:06Z  

    Hi Ram,

    There is no configuration option to do this.  You'll need to open a request for enhancement at https://www.ibm.com/developerworks/rfe/execute?use_case=changeRequestLanding .  It looks like the RFE site has changed recently where it used to have a DataPower product, now that has been split up by individual product, eg, into the XG, XI, XB, etc

    Regards,

    Steve

  • ramgopal
    ramgopal
    12 Posts

    Re: 'Show probe' to display transaction date

    ‏2013-06-28T15:43:39Z  
    • swlinn
    • ‏2013-06-28T15:38:06Z

    Hi Ram,

    There is no configuration option to do this.  You'll need to open a request for enhancement at https://www.ibm.com/developerworks/rfe/execute?use_case=changeRequestLanding .  It looks like the RFE site has changed recently where it used to have a DataPower product, now that has been split up by individual product, eg, into the XG, XI, XB, etc

    Regards,

    Steve

    Thanks Steve for your quick reply. Transaction date will be very helpful in debugging issues, not sure how IBM missed the basic one. I will have to open a service request. Thanks again.

    Regards

    Ram

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2013-06-28T16:13:57Z  
    • ramgopal
    • ‏2013-06-28T15:43:39Z

    Thanks Steve for your quick reply. Transaction date will be very helpful in debugging issues, not sure how IBM missed the basic one. I will have to open a service request. Thanks again.

    Regards

    Ram

    You may be interested in posting "probe-timestamps.xsl -- timestamps from "Probe Export Capture":
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/probe_timestamps_xsl_timestamps_from_probe_export_capture27


    And when working with Probe, "Wanna know what is in Probe context displayed empty?" might be interesting to you as well:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/wanna_know_what_is_in_probe_context_displayed_empty

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

     

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T19:20:07Z  
    • HermannSW
    • ‏2013-06-28T16:13:57Z

    You may be interested in posting "probe-timestamps.xsl -- timestamps from "Probe Export Capture":
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/probe_timestamps_xsl_timestamps_from_probe_export_capture27


    And when working with Probe, "Wanna know what is in Probe context displayed empty?" might be interesting to you as well:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/wanna_know_what_is_in_probe_context_displayed_empty

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

     

    Hi Hermann,

    I tried to implement the code you mentioned in the blog but for me it's not working. I am using the coproc2 script

     ~/coproc2
    $ cat probe-timestamps.xsl
    <!--
         probe-timestamps.xsl:
    
         tool to display timestamp/transaction-id from "Probe Export Capture"
    
    $ coproc2 probe-timestamps.xsl mpgw\@testasync.zip http://dp3-l3:2224
    timestamp            tid
    ==================== ===
    2012-10-09T15:03:38Z 7776
    2012-10-09T15:09:21Z 11408
    2012-10-09T15:09:24Z 11488
    2012-10-09T15:10:07Z 3697
    $ vi probe-timestamps.xsl
    $
    -->
    <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:dp="http://www.datapower.com/extensions"
      xmlns:dpfunc="http://www.datapower.com/extensions/functions"
      xmlns:func="http://exslt.org/functions"
      extension-element-prefixes="dp"
    >
      <!-- get dpfunc:zulu-time() -->
      <xsl:include href="store:///utilities.xsl"/>
    
    
      <!--  ==>  <object><message>***binary data***</message></object>  -->
      <dp:input-mapping  href="store:///pkcs7-convert-input.ffd" type="ffd"/>
    
    
      <!-- nice to have functions for dealing with attachments -->
      <func:function name="func:att-man">
        <func:result select="dp:variable('var://context/IN/attachment-manifest')"/>
      </func:function>
    
      <func:function name="func:cid">
        <xsl:param name="name"/>  <func:result select="concat('cid:',$name)"/>
      </func:function>
    
      <func:function name="func:att">
        <xsl:param name="name"/>
    
        <func:result select="concat('attachment://IN/',func:cid($name))"/>
      </func:function>
    
      <func:function name="func:zip">
        <xsl:param name="name"/> <xsl:param name="fname"/>
    
        <func:result
           select="concat(func:att($name),'?Archive=zip&amp;Filename=',$fname)"/>
      </func:function>
    
      <xsl:variable name="inp" select="'inp'"/>
    
    
      <xsl:template match="/">
    
        <!-- create context "IN" with "any content" (not used) -->
        <dp:set-variable name="'var://context/IN'" value="''" />
    
        <!-- attach INPUT zip-archive to context "IN" ($inp Content-ID) -->
        <dp:url-open
          target="{func:att($inp)}"
          data-type="base64"
          response="ignore"
          content-type="application/zip"
        >
          <xsl:value-of select="dp:binary-encode(/object/message/node())" />
        </dp:url-open>
    
    
        <!-- collect parsed request input context data for each transaction-id -->
        <xsl:variable name="inputs">
          <xsl:for-each
             select="func:att-man()/manifest/attachments
                       /attachment/files/file/filename[contains(.,'/0/0.xml.gz')]"
          >
            <!-- extract "tid/0/0.xml.gz" from zip-archive ... -->
            <xsl:variable name="zip">
              <dp:url-open
                target="{func:zip($inp, .)}"
                response="binaryNode"
              />
            </xsl:variable>
    
            <xsl:variable name="content.gz.b64"
              select="dp:binary-encode($zip/result/binary/node())"/>
    
            <!-- parse the inflated content.gz.b64 -->
            <xsl:copy-of select="dp:parse(dp:inflate($content.gz.b64,'gzip'))"/>
          </xsl:for-each>
        </xsl:variable>
    
    
        <!-- generate table output, sorted by timestamnp -->
        <xsl:text>timestamp            tid&#10;</xsl:text>
        <xsl:text>==================== ===&#10;</xsl:text>
    
        <xsl:for-each select="$inputs/*/*">
          <xsl:sort select="timestamp"/>
    
          <xsl:if test="normalize-space(transaction-id)">
            <xsl:value-of select="dpfunc:zulu-time(timestamp div 1000)"/>
            <xsl:text> </xsl:text>
            <xsl:value-of select="transaction-id"/>
            <xsl:text>&#10;</xsl:text>
          </xsl:if>
        </xsl:for-each>
    
      </xsl:template>
    
    </xsl:stylesheet>
    

     

    $ ./coproc2 probe-timestamps.xsl MPGW.zip http://1.2.3.4:2224

     

    timestamp            tid
    ==================== ===
     
  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T19:36:33Z  
    • Kumar_Y
    • ‏2014-12-03T19:20:07Z

    Hi Hermann,

    I tried to implement the code you mentioned in the blog but for me it's not working. I am using the coproc2 script

    <pre class="html dw" data-editor-lang="js" data-pbcklang="html" dir="ltr"> ~/coproc2 $ cat probe-timestamps.xsl <!-- probe-timestamps.xsl: tool to display timestamp/transaction-id from "Probe Export Capture" $ coproc2 probe-timestamps.xsl mpgw\@testasync.zip http://dp3-l3:2224 timestamp tid ==================== === 2012-10-09T15:03:38Z 7776 2012-10-09T15:09:21Z 11408 2012-10-09T15:09:24Z 11488 2012-10-09T15:10:07Z 3697 $ vi probe-timestamps.xsl $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions" xmlns:dpfunc="http://www.datapower.com/extensions/functions" xmlns:func="http://exslt.org/functions" extension-element-prefixes="dp" > <!-- get dpfunc:zulu-time() --> <xsl:include href="store:///utilities.xsl"/> <!-- ==> <object><message>***binary data***</message></object> --> <dp:input-mapping href="store:///pkcs7-convert-input.ffd" type="ffd"/> <!-- nice to have functions for dealing with attachments --> <func:function name="func:att-man"> <func:result select="dp:variable('var://context/IN/attachment-manifest')"/> </func:function> <func:function name="func:cid"> <xsl:param name="name"/> <func:result select="concat('cid:',$name)"/> </func:function> <func:function name="func:att"> <xsl:param name="name"/> <func:result select="concat('attachment://IN/',func:cid($name))"/> </func:function> <func:function name="func:zip"> <xsl:param name="name"/> <xsl:param name="fname"/> <func:result select="concat(func:att($name),'?Archive=zip&amp;Filename=',$fname)"/> </func:function> <xsl:variable name="inp" select="'inp'"/> <xsl:template match="/"> <!-- create context "IN" with "any content" (not used) --> <dp:set-variable name="'var://context/IN'" value="''" /> <!-- attach INPUT zip-archive to context "IN" ($inp Content-ID) --> <dp:url-open target="{func:att($inp)}" data-type="base64" response="ignore" content-type="application/zip" > <xsl:value-of select="dp:binary-encode(/object/message/node())" /> </dp:url-open> <!-- collect parsed request input context data for each transaction-id --> <xsl:variable name="inputs"> <xsl:for-each select="func:att-man()/manifest/attachments /attachment/files/file/filename[contains(.,'/0/0.xml.gz')]" > <!-- extract "tid/0/0.xml.gz" from zip-archive ... --> <xsl:variable name="zip"> <dp:url-open target="{func:zip($inp, .)}" response="binaryNode" /> </xsl:variable> <xsl:variable name="content.gz.b64" select="dp:binary-encode($zip/result/binary/node())"/> <!-- parse the inflated content.gz.b64 --> <xsl:copy-of select="dp:parse(dp:inflate($content.gz.b64,'gzip'))"/> </xsl:for-each> </xsl:variable> <!-- generate table output, sorted by timestamnp --> <xsl:text>timestamp tid&#10;</xsl:text> <xsl:text>==================== ===&#10;</xsl:text> <xsl:for-each select="$inputs/*/*"> <xsl:sort select="timestamp"/> <xsl:if test="normalize-space(transaction-id)"> <xsl:value-of select="dpfunc:zulu-time(timestamp div 1000)"/> <xsl:text> </xsl:text> <xsl:value-of select="transaction-id"/> <xsl:text>&#10;</xsl:text> </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet> </pre>

     

    $ ./coproc2 probe-timestamps.xsl MPGW.zip http://1.2.3.4:2224

     

    timestamp            tid
    ==================== ===
     

    Hi,

    I just looked into my blog posting again, and I did send the the export capture file (mpgw\@testasync.zip), not the complete export.

    Please open your MPGW.zip, look for a file containing @ in its name (a .zip file) and extract that file. Then send that file with coproc2 service a you did above with MPGW.zip.

    probe-timestamps.xsl does not handle the extraction of the capture file from the config export (that can be added).


    Hermann.

    Updated on 2014-12-03T19:36:59Z at 2014-12-03T19:36:59Z by HermannSW
  • JoeMorganNTST
    JoeMorganNTST
    427 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T19:41:22Z  
    • swlinn
    • ‏2013-06-28T15:38:06Z

    Hi Ram,

    There is no configuration option to do this.  You'll need to open a request for enhancement at https://www.ibm.com/developerworks/rfe/execute?use_case=changeRequestLanding .  It looks like the RFE site has changed recently where it used to have a DataPower product, now that has been split up by individual product, eg, into the XG, XI, XB, etc

    Regards,

    Steve

    See RFE 54853.  Please go vote for it.  This was requested well back into 2007 and was rejected.  It is sorely needed in the probe view in spite of the work around Hermann provides.

    http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=54853

     

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T20:01:19Z  
    • HermannSW
    • ‏2014-12-03T19:36:33Z

    Hi,

    I just looked into my blog posting again, and I did send the the export capture file (mpgw\@testasync.zip), not the complete export.

    Please open your MPGW.zip, look for a file containing @ in its name (a .zip file) and extract that file. Then send that file with coproc2 service a you did above with MPGW.zip.

    probe-timestamps.xsl does not handle the extraction of the capture file from the config export (that can be added).


    Hermann.

    Hi Hermann,

    Thanks Hermann I was able to get the results. I had one question thou how it will work for WSP?

     

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T20:01:31Z  

    See RFE 54853.  Please go vote for it.  This was requested well back into 2007 and was rejected.  It is sorely needed in the probe view in spite of the work around Hermann provides.

    http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=54853

     

    Thanks Joe I will do that

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T20:15:43Z  
    • Kumar_Y
    • ‏2014-12-03T20:01:19Z

    Hi Hermann,

    Thanks Hermann I was able to get the results. I had one question thou how it will work for WSP?

     

    A WSP is mainly used for processing SOAP messsages, but here you have to send a (binary) .zip archive.

    Why do you want a WSP, why not a MPGW (a WSP "is" a MPGW with a lot of under the cover functionality).

    Hermann.

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T20:29:36Z  
    • HermannSW
    • ‏2014-12-03T20:15:43Z

    A WSP is mainly used for processing SOAP messsages, but here you have to send a (binary) .zip archive.

    Why do you want a WSP, why not a MPGW (a WSP "is" a MPGW with a lot of under the cover functionality).

    Hermann.

    Thanks for the confirmation Hermann. The problem we have lot of WSDL based service listening on the WSP. I am getting one time out error in the logs and I would like to narrow it down this with payload and when it happened using the probe.

    So if I understand correctly same thing cannot be achieve with WSP?

  • KSeeker
    KSeeker
    59 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T22:00:52Z  
    • HermannSW
    • ‏2013-06-28T16:13:57Z

    You may be interested in posting "probe-timestamps.xsl -- timestamps from "Probe Export Capture":
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/probe_timestamps_xsl_timestamps_from_probe_export_capture27


    And when working with Probe, "Wanna know what is in Probe context displayed empty?" might be interesting to you as well:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/wanna_know_what_is_in_probe_context_displayed_empty

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

     

    HermannSW - where do you run the coproc2 command? In the putty? or datapower CLI command interface? Thanks 

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T22:34:32Z  
    • Kumar_Y
    • ‏2014-12-03T20:29:36Z

    Thanks for the confirmation Hermann. The problem we have lot of WSDL based service listening on the WSP. I am getting one time out error in the logs and I would like to narrow it down this with payload and when it happened using the probe.

    So if I understand correctly same thing cannot be achieve with WSP?

    The probe capture can be taken from any service including WSP.

    The service running probe-timestamps.xsl should be run in a MPGW (or XMLFW) as coproc2 does.

     

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-03T22:51:29Z  
    • HermannSW
    • ‏2014-12-03T22:34:32Z

    The probe capture can be taken from any service including WSP.

    The service running probe-timestamps.xsl should be run in a MPGW (or XMLFW) as coproc2 does.

     

    When you I used the same XSLT for WSP I got blank response using coproc2

    $ ./coproc2 probe-timestamps.xsl wsgw\@US_WSP.zip http://1.2.3.4:2224
    timestamp            tid
    ==================== ===
    
    
    Working for MPGW
    
    
    $ ./coproc2 probe-timestamps.xsl mpgw\@coproc2xform.zip http://1.2.3.4:2224
    timestamp            tid
    ==================== ===
    2014-12-03T03:48:01Z 6439335
    2014-12-03T03:48:01Z 6439367
    2014-12-03T03:48:02Z 6440343
    2014-12-03T03:48:02Z 6440999
    2014-12-03T03:48:03Z 6442103
    2014-12-03T03:48:03Z 6442327
    2014-12-03T03:48:03Z 6442679
    2014-12-03T03:48:03Z 6442919
    2014-12-03T03:48:03Z 6443815
    2014-12-03T03:48:03Z 6443911
    2014-12-03T03:48:04Z 6444423
    2014-12-03T03:48:04Z 6444599
    2014-12-03T03:48:04Z 6444775
    2014-12-03T03:48:05Z 6444999
    2014-12-03T03:48:05Z 6445015
    2014-12-03T03:48:05Z 6445191
    2014-12-03T03:48:11Z 6447559
    2014-12-03T03:48:11Z 1363513
    2014-12-03T03:48:14Z 6449959
    2014-12-03T03:48:14Z 6450023
    2014-12-03T03:48:16Z 6450695
    2014-12-03T03:52:26Z 6848247
    2014-12-03T19:12:58Z 1534713
    2014-12-03T20:01:38Z 7768503
    2014-12-03T20:01:47Z 7768583
    

     

    Updated on 2014-12-03T22:51:50Z at 2014-12-03T22:51:50Z by Kumar_Y
  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-04T08:30:27Z  
    • KSeeker
    • ‏2014-12-03T22:00:52Z

    HermannSW - where do you run the coproc2 command? In the putty? or datapower CLI command interface? Thanks 

    Hi,

    coproc2 is a service to be installed on a DataPower box and a client (bash shell or Java).
    You cann find the latest version here (for XSLT, Non-XML XSLT, XQuery and JSONiq):
    https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014590913#f5915ec6-99ff-426d-a3d2-c71d6d96efc9

    For GatewayScript support see this posting:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/coproc2gatewayscript_again

    There are currently 22 postings tagged coproc2 on my blog to give you an idea what you can do with coproc2:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/tags/coproc2



    Hermann <myBlog/> <myTweets/> | <GraphvizFiddle/> | <xqib/> | <myCE/> <myFrameless/> | 

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-04T19:45:16Z  
    • Kumar_Y
    • ‏2014-12-03T22:51:29Z

    When you I used the same XSLT for WSP I got blank response using coproc2

    <pre class="html dw" data-editor-lang="js" data-pbcklang="html" dir="ltr">$ ./coproc2 probe-timestamps.xsl wsgw\@US_WSP.zip http://1.2.3.4:2224 timestamp tid ==================== === Working for MPGW $ ./coproc2 probe-timestamps.xsl mpgw\@coproc2xform.zip http://1.2.3.4:2224 timestamp tid ==================== === 2014-12-03T03:48:01Z 6439335 2014-12-03T03:48:01Z 6439367 2014-12-03T03:48:02Z 6440343 2014-12-03T03:48:02Z 6440999 2014-12-03T03:48:03Z 6442103 2014-12-03T03:48:03Z 6442327 2014-12-03T03:48:03Z 6442679 2014-12-03T03:48:03Z 6442919 2014-12-03T03:48:03Z 6443815 2014-12-03T03:48:03Z 6443911 2014-12-03T03:48:04Z 6444423 2014-12-03T03:48:04Z 6444599 2014-12-03T03:48:04Z 6444775 2014-12-03T03:48:05Z 6444999 2014-12-03T03:48:05Z 6445015 2014-12-03T03:48:05Z 6445191 2014-12-03T03:48:11Z 6447559 2014-12-03T03:48:11Z 1363513 2014-12-03T03:48:14Z 6449959 2014-12-03T03:48:14Z 6450023 2014-12-03T03:48:16Z 6450695 2014-12-03T03:52:26Z 6848247 2014-12-03T19:12:58Z 1534713 2014-12-03T20:01:38Z 7768503 2014-12-03T20:01:47Z 7768583 </pre>

     

    Did you enable Probe for your WSP?

    Can you please open Probe in your WSP and click on "Probe Capture" button and that download?


    Hermann.

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-04T19:53:16Z  
    • HermannSW
    • ‏2014-12-04T19:45:16Z

    Did you enable Probe for your WSP?

    Can you please open Probe in your WSP and click on "Probe Capture" button and that download?


    Hermann.

    Hi Hermann,

    I have enabled the probe.

    Please check the attachment

    Attachments

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-04T20:13:52Z  
    • Kumar_Y
    • ‏2014-12-04T19:53:16Z

    Hi Hermann,

    I have enabled the probe.

    Please check the attachment

    Can you please attach WSP probe capture?

    Then I can try to debug the issue.


    Hermann.

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-04T20:19:31Z  
    • HermannSW
    • ‏2014-12-04T20:13:52Z

    Can you please attach WSP probe capture?

    Then I can try to debug the issue.


    Hermann.

    I have send the probe capture in the email to you.

  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-05T16:26:30Z  
    • HermannSW
    • ‏2014-12-04T20:13:52Z

    Can you please attach WSP probe capture?

    Then I can try to debug the issue.


    Hermann.

    Hi Hermann,

     

    Did you receive the probe capture for the WSP I sent you?

  • HermannSW
    HermannSW
    4657 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-05T16:53:18Z  
    • Kumar_Y
    • ‏2014-12-05T16:26:30Z

    Hi Hermann,

     

    Did you receive the probe capture for the WSP I sent you?

    Yes, and my stylesheet searched for ".../0/0.xml.gz" which are not present in your WSGW Probe capture:

    $ unzip -l wsgw\@xxxxxx_Customer_WSP.zip | grep xml.gz | cut -b31- | sort | grep 0.xml.gz
    1549209/1/0.xml.gz
    1549209/2/0.xml.gz
    7215697/1/0.xml.gz
    ...
    ...
    7765687/2/0.xml.gz
    7765751/1/0.xml.gz
    7765751/2/0.xml.gz
    $
    

     

    This is the diff producing output:

    $ diff probe-timestamps.xsl probe-timestamps.2.xsl 
    76c76
    <                    /attachment/files/file/filename[contains(.,'/0/0.xml.gz')]"
    ---
    >                    /attachment/files/file/filename[contains(.,'/0.xml.gz')]"
    $
    

     

    And here is what you get (optional entries for request/response/error for a given transaction):

    $ coproc2 probe-timestamps.2.xsl wsgw\@xxxxx_Customer_WSP.zip http://dp2-l3:2224; echo
    timestamp            tid
    ==================== ===
    2014-12-03T19:59:36Z 7765079
    2014-12-03T19:59:36Z 7765079
    2014-12-03T19:59:36Z 7215697
    2014-12-03T19:59:36Z 7215697
    2014-12-03T19:59:36Z 7215713
    2014-12-03T19:59:36Z 7215713
    2014-12-03T19:59:36Z 7765287
    2014-12-03T19:59:36Z 7765287
    2014-12-03T19:59:36Z 7765335
    2014-12-03T19:59:36Z 7765335
    2014-12-03T19:59:36Z 7215889
    2014-12-03T19:59:36Z 7215889
    2014-12-03T19:59:36Z 7215921
    2014-12-03T19:59:36Z 7215921
    2014-12-03T19:59:36Z 7215937
    2014-12-03T19:59:36Z 7215937
    2014-12-03T19:59:36Z 7765687
    2014-12-03T19:59:36Z 7765687
    2014-12-03T19:59:37Z 7765751
    2014-12-03T19:59:37Z 7765751
    2014-12-03T19:59:37Z 7216097
    2014-12-03T19:59:37Z 7216097
    2014-12-03T19:59:37Z 1549209
    2014-12-03T19:59:37Z 1549209
    
    $ 
    

     

    Hermann.

    Attachments

    Updated on 2014-12-05T16:53:49Z at 2014-12-05T16:53:49Z by HermannSW
  • Kumar_Y
    Kumar_Y
    236 Posts

    Re: 'Show probe' to display transaction date

    ‏2014-12-05T19:46:42Z  
    • HermannSW
    • ‏2014-12-05T16:53:18Z

    Yes, and my stylesheet searched for ".../0/0.xml.gz" which are not present in your WSGW Probe capture:

    <pre class="javascript dw" data-editor-lang="js" data-pbcklang="javascript" dir="ltr">$ unzip -l wsgw\@xxxxxx_Customer_WSP.zip | grep xml.gz | cut -b31- | sort | grep 0.xml.gz 1549209/1/0.xml.gz 1549209/2/0.xml.gz 7215697/1/0.xml.gz ... ... 7765687/2/0.xml.gz 7765751/1/0.xml.gz 7765751/2/0.xml.gz $ </pre>

     

    This is the diff producing output:

    <pre class="javascript dw" data-editor-lang="js" data-pbcklang="javascript" dir="ltr">$ diff probe-timestamps.xsl probe-timestamps.2.xsl 76c76 < /attachment/files/file/filename[contains(.,'/0/0.xml.gz')]" --- > /attachment/files/file/filename[contains(.,'/0.xml.gz')]" $ </pre>

     

    And here is what you get (optional entries for request/response/error for a given transaction):

    <pre class="javascript dw" data-editor-lang="js" data-pbcklang="javascript" dir="ltr">$ coproc2 probe-timestamps.2.xsl wsgw\@xxxxx_Customer_WSP.zip http://dp2-l3:2224; echo timestamp tid ==================== === 2014-12-03T19:59:36Z 7765079 2014-12-03T19:59:36Z 7765079 2014-12-03T19:59:36Z 7215697 2014-12-03T19:59:36Z 7215697 2014-12-03T19:59:36Z 7215713 2014-12-03T19:59:36Z 7215713 2014-12-03T19:59:36Z 7765287 2014-12-03T19:59:36Z 7765287 2014-12-03T19:59:36Z 7765335 2014-12-03T19:59:36Z 7765335 2014-12-03T19:59:36Z 7215889 2014-12-03T19:59:36Z 7215889 2014-12-03T19:59:36Z 7215921 2014-12-03T19:59:36Z 7215921 2014-12-03T19:59:36Z 7215937 2014-12-03T19:59:36Z 7215937 2014-12-03T19:59:36Z 7765687 2014-12-03T19:59:36Z 7765687 2014-12-03T19:59:37Z 7765751 2014-12-03T19:59:37Z 7765751 2014-12-03T19:59:37Z 7216097 2014-12-03T19:59:37Z 7216097 2014-12-03T19:59:37Z 1549209 2014-12-03T19:59:37Z 1549209 $ </pre>

     

    Hermann.

    Thanks Hermann its working now :)