You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/10/07 11:00:39 UTC

DO NOT REPLY [Bug 47952] New: JSR-223 (ScriptEngine) support

https://issues.apache.org/bugzilla/show_bug.cgi?id=47952

           Summary: JSR-223 (ScriptEngine) support
           Product: JMeter
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: pierre.queinnec@zenika.com


Hi, we (Zenika, http://www.zenika.com) would like to contribute a JSR-223
(ScriptEngine) PreProcessor, PostProcessor and Listener. Of course this means
running on JDK 6, so that's probably a problem for the patch build integration,
and so on. I'm opening this enhancement request so that the code doesn't get
lost.

Tell me if you think we could rework this. Thanks!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47952] JSR-223 (ScriptEngine) support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47952

--- Comment #1 from Pierre Queinnec <pi...@zenika.com> 2009-10-07 02:01:53 PDT ---
Created an attachment (id=24353)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24353)
Proposed diff

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47952] JSR-223 (ScriptEngine) support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47952

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Sebb <se...@apache.org> 2009-10-23 11:08:24 UTC ---
Added to SVN.

URL: http://svn.apache.org/viewvc?rev=829133&view=rev
Log:
Bug47952 - Initial JSR223 test element implementation

I had to make a few changes, e.g. if the script implementation is not found, it
does not default to Groovy:

URL: http://svn.apache.org/viewvc?rev=829144&view=rev
Log:
Unused imports
Tidy error handling

URL: http://svn.apache.org/viewvc?rev=829145&view=rev
Log:
Unused imports
Wrong items being passed to script parameters

URL: http://svn.apache.org/viewvc?rev=829146&view=rev
Log:
Unused imports
Ensure file is always closed
Use correct eval() method
Don't default to Groovy engine
Don't continue if implementation is not found

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47952] JSR-223 (ScriptEngine) support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47952

--- Comment #2 from Sebb <se...@apache.org> 2009-10-08 14:32:00 PDT ---
Apache BSF3 is an implementation of JSR-223 which runs on Java 1.4, so the
restriction of Java 1.6 is not a problem. 

>From a brief look, the proposed new code does not itself require Java 1.6.

Thanks for the contribution - I hope to find time to add it to JMeter soon.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org