Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

How to convert the SilkPerformer Overview Report (.tsd format) to HTML or XML format

How to convert the SilkPerformer Overview Report (.tsd format) to HTML or XML format

The easiest method to convert an Overview Report (.tsd file) into HTML format is to use Performance Explorer’s "View as HTML" option:

  • Go to "VIEW | VIEW AS HTML"
  • Once the Overview Report has opened in a browser go to "FILE | SAVE AS" and save as HTML.

In addition, Performance Explorer provides a command line option to export the Overview Report file (m@name@projectname.tsd) to both HTML and XML format.

To export the TSD data into HTML and XML format:

  1. Paste the following XML into Notepad and save it to disk as, for example, C:\Temp\Export.xml.

    <?xml version="1.0" encoding="UTF-8"?>
    <PerfExpCommandFile NoGui="true" LogFile="TARGET_PATH\LOGFILE.LOG">
     <OverviewReport File="SOURCE_PATH\FILE_NAME.TSD" Export="TARGET_PATH\EXPORTFILE.HTML"/>
    </PerfExpCommandFile>

    This should be edited as follows:

    Replace "TARGET_PATH\LOGFILE.LOG" with location and filename of the log file you wish to export to, for example "C:\Temp\PerfExp.log"

    Replace "SOURCE_PATH\FILE_NAME.TSD" with the location and filename of the source tsd file, for example "C:\Temp\m@name@projectname.tsd"

    Replace "TARGET_PATH\EXPORTFILE.HTML" with the path and filename of the file you wish to create, for example, "C:\Temp\ExportTSD.MHT"  

    NOTE:  The exported file can be in HTML or MHT format.
     
  2. After the XML template has been configured and saved, the TSD file can be exported using it as a parameter to the perfexp tool in the Silk Performer root directory.  

    From the commandline, navigate to the Silk Performer root directory and enter:

    perfexp /commandfile:"PATH\FILENAME.XML"

    where "PATH\FILENAME.XML" is the path and filename of the XML saved in step 1, for example, "C:\Temp\Export.XML"

    This exports the TSD file to HTML or MHT, and XML format as, for example, C:\Temp\ExportTSD.MHT and C:\Temp\ExportTSD.XML.

To convert the .tsd file into HTML format using a predefined overview report template (.ovt), edit the XML file, i.e. C:\Temp\Export.xml and include the Template parameter, i.e: 

<OverviewReport File="SOURCE_PATH\FILE_NAME.TSD" Template = "PATH\FILE_NAME.ovt" Export="TARGET_PATH\EXPORTFILE.HTML"/>

Please note: It is currently not possible to use the above approach to export a monitoring TSD (r@@servername.tsd) file from TSD format to either HTML or XML.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:50
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.