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

           Summary: Functions not loaded when started from Maven
           Product: JMeter
           Version: 2.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If JMeter is started from Maven no functions (e.g., __properties) are loaded.

The functions are loaded dynamically at startup, when the class
org.apache.jmeter.engine.util.CompoundVariable is loaded. This class calls
org.apache.jorphan.reflect.ClassFinder to search for classes implementing the
Function interface. ClassFinder checks for all jars in the java.classpath for
such implementations.

If called from Maven (cf. https://github.com/Ronnie76er/jmeter-maven-plugin)
the class path only contains some Maven related jars. Hence, no functions can
be found and used in the tests.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to