Quantcast
Channel: THWACK: Popular Discussions - Web Performance Monitor (formerly SeUM)
Viewing all articles
Browse latest Browse all 12861

Accessing RawHtml for reporting

$
0
0

Since regular expressions aren't supported with tests, I'm having to directly query the database to access the RawHtml of a step to pull needed data.

I'm doing it using this query:   SELECT TransactionStepId, RawHtml FROM Orion.SEUM.TransactionStepLargeData WHERE TransactionStepId = 2242

 

This seems to work "sometimes", but more often than not, I'm getting no data at all returned.    I was thinking, maybe it was due to the row being written at the same time as the query is running.  But I've tried moving the timing around and the test itself is only running every 5 minutes, yet I still get nothing returned more often than not.

 

This is an example of what I am getting returned most times.  Notice the <c1> field where the html should be contained.

 

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><log xmlns="http://schemas.solarwinds.com/2007/08/informationservice"/></s:Header><s:Body><QueryXmlResponse xmlns="http://schemas.solarwinds.com/2007/08/informationservice"><QueryXmlResult><queryResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><template><resultset><column name="TransactionStepId" type="Int32" ordinal="0"/><column name="RawHtml" type="String" ordinal="1"/></resultset></template><data><row><c0>2242</c0><c1/></row></data></queryResult></QueryXmlResult></QueryXmlResponse></s:Body></s:Envelope>

 

Yet I never seem to have an issue viewing the raw html through the gui via the "view HTML" link.

 

Any help here would be appreciated.    I did try using StepResponseTimeLargeData table also, but every row in that one seems to have nothing for RawHtml.

 

 

 

 

Good example of what I'm dealing with just occurred.   Got this response while working on this post:

 

SELECT TransactionStepId, RawHtml FROM Orion.SEUM.TransactionStepLargeData WHERE TransactionStepId = 2242

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><log xmlns="http://schemas.solarwinds.com/2007/08/informationservice"/></s:Header><s:Body><QueryXmlResponse xmlns="http://schemas.solarwinds.com/2007/08/informationservice"><QueryXmlResult><queryResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><template><resultset><column name="TransactionStepId" type="Int32" ordinal="0"/><column name="RawHtml" type="String" ordinal="1"/></resultset></template><data><row><c0>2242</c0><c1/></row></data></queryResult></QueryXmlResult></QueryXmlResponse></s:Body></s:Envelope>

 

 

After posting, I tried again, and this time I got the expected result...

 

SELECT TransactionStepId, RawHtml FROM Orion.SEUM.TransactionStepLargeData WHERE TransactionStepId = 2242

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><log xmlns="http://schemas.solarwinds.com/2007/08/informationservice"/></s:Header><s:Body><QueryXmlResponse xmlns="http://schemas.solarwinds.com/2007/08/informationservice"><QueryXmlResult><queryResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><template><resultset><column name="TransactionStepId" type="Int32" ordinal="0"/><column name="RawHtml" type="String" ordinal="1"/></resultset></template><data><row><c0>2242</c0><c1>&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;TOAST.net Performance Results&lt;/TITLE&gt;&lt;LINK rel=stylesheet type=text/css href="styles/performance.css"&gt;

&lt;META content=en-us http-equiv=Content-Language&gt;

&lt;META content="text/html; charset=windows-1252" http-equiv=Content-Type&gt;

&lt;META name=GENERATOR content="Microsoft FrontPage 12.0"&gt;

&lt;META name=ProgId content=FrontPage.Editor.Document&gt;

&lt;META name=description content="Internet Bandwidth Performance Test"&gt;

&lt;META name=keywords content="T1, T1 service, Broadband, Broadb........


Viewing all articles
Browse latest Browse all 12861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>