Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » GLA: Is it extensible ?
GLA: Is it extensible ? [message #63093] Fri, 31 March 2006 13:14 Go to next message
Bertrand Quenin is currently offline Bertrand QueninFriend
Messages: 70
Registered: July 2009
Member
Hi,

GLA is a wonderful tool that allows any log source to be adapted to CBE.
My question is really simple: Is there a way to use this tool to generate
something different than CBE messages ?
In fact, my goal is to use this tool to parse and adapt any testing tool
log to XML fragments (used in TPTP to feed the framework back with
execution history events). I'm sure this is possible but i can't find any
documentation about such a behavior.
This could also be an improvement request as XML framgents are parts of
the TPTP project and this would be really great to have such a tool
embedded in a remote runner in order to tranforms third party testing
tools log to XML fragments.

Regards
BQ.
Re: GLA: Is it extensible ? [message #63561 is a reply to message #63093] Mon, 03 April 2006 18:36 Go to previous message
Dave Smith is currently offline Dave SmithFriend
Messages: 14
Registered: July 2009
Junior Member
Bertrand,

Yes, the GLA framework is extensible and you should be able to extend it
to emit XML fragments. You could either create a static parser class to
do the parsing of the test tool logs, or if you want to use the existing
GLA Parser component to process regular expressions rules, you need to
create a new GLA Formatter component to generate the XML fragments instead
of CBE objects. In either case, you also need to implement a new GLA
Outputter component that accepts something other than CBE objects. See
http://help.eclipse.org/help31/topic/org.eclipse.tptp.monito ring.doc.user/tasks/textendgla.html
for information on how to create a custom GLA component and
http://help.eclipse.org/help31/topic/org.eclipse.tptp.monito ring.doc.user/tasks/tcreatingstaticadapter.html
for information on how to create a static parser. Note, while the GLA
Parser component schema is not CBE specific and can be used to parse log
data into any kind of format, the Adapter Configuration Editor for
creating GLA adapter configuration files is currently CBE specific and not
easily extensible to write parsing rules for other data formats. Please
open a feature enhancement request if you would like to see that kind of
extensibility in the Adapter Configuration Editor. In the meantime, you
would need to create the parsing rules by editing the adapter
configuration file in a text editor. Refer to the Parser.xsd
( http://dev.eclipse.org/viewcvs/index.cgi/monitoring/org.ecli pse.hyades.logging.adapter/schema/Parser.xsd?rev=1.3&cvs root=TPTP_Project&content-type=text/vnd.viewcvs-markup)
for details of the parsing rules format in the adapter configuration file.

Dave
Previous Topic:I have found the execution log problem for AGR!
Next Topic:How to record full execution information?
Goto Forum:
  


Current Time: Fri Apr 19 00:44:40 GMT 2024

Powered by FUDForum. Page generated in 0.01512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top