Re: Grinder support more scripting languages

Philip Aston <[email protected]>
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
[cc'ing grinder-development]

Long term, yes The Grinder will probably support more scripting 
languages. This is one motivation for the introduction of the new 
instrumentation engine based on byte code transformation.

I haven't provided a public extension point to allow additional script 
engines to be added. This is deliberate. I haven't sufficiently thought 
about this, and a poor interface is worse than no interface. Also, 
sub-classing an implementation to change such behaviour is usually the 
wrong answer for public contracts.

We need to start by changing The Grinder to provide the appropriate 
extension point. If you want to have a go at this, I'm very happy for 
you to do so, but first read the notes on the web site about 
contributing. Please first propose how such an extension point would 
look, including the role and responsibility of its interfaces and 
classes, and the impact on the rest of The Grinder (e.g. the console 
might need to be extended to recognise file suffixes for other scripting 
languages).

Regards,

- Phil

On 02/02/10 06:20, Jumper Chen wrote:
>
> Message body follows:
>
> Hi Philip,
>
> I am Jumper from ZK Team, which is AJAX Framework, I am not
> sure whether you are planning to support more scripting
> languages like(beanshell), which can be found -
> http://www.beanshell.org/
>
> Right now, I want to do the feature myself, but it is hard
> because you hard coded the new JythonScriptEngine() inside
> the GrinderProcess.java which is a final and non-public
> class that is used in WirkerProcessEntryPoint.java. Is it
> possible to provide a plugin or a configuration to change
> the script engine?
>
> BTW, I can now to modify the httpToJythonScript.xsl to
> generate the Java format, but it cannot run with the grinder
> tool unless I recompile your source code, but this is not a
> good solution for community to share their new script engine.
>
>
> Best Regards,
> Jumper Chen
> The ZK Team
> http://www.zkoss.org
>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.