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

Philippe Mouawad <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #1 from Philippe Mouawad <[email protected]> ---
Created attachment 31677
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31677&action=edit
Fixed test plan

Here is how I setup scala:
1/ In user.properties, I added:
user.classpath=../scala

2/ I created a scala folder under jmeter (same level as lib) where I have put
all scala jars

3/ In system.properties, I added:
scala.usejavacp=true


Note 1/ and 2/ are only to be clean.
3/ is the way to fix you issue

4/ I fixed the code :
Replaced :
logger.warn("Hello world!");
by 
var logger = log.asInstanceOf[org.apache.log.Logger];
logger.warn("Hello world!");

Note even with caching of compiled classes, it seems to be very slow.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to