I'll answer my own question (for posterity). After much playing around I discovered that the problem was that failures to properly load files from lib/junit/*jar are silently ignored by JMeter.
If you're experiencing similar issues do this: Turn ON logging at DEBUG level in bin/log4j.conf log4j.category.org.apache.orphan.reflect=debug Restart JMeter and look at jmeter.log. 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/jakarta-jmeter-2.4/lib/junit/test.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/kitcat1.1_src/EChartsSipTest/lib/echarts-jain-sip.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/kitcat1.1_src/EChartsSipTest/lib/echarts.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/kitcat1.1_src/EChartsSipTest/lib/echarts-siptest.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/kitcat1.1_src/EChartsSipTest/lib/hamcrest-all-1.1.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/kitcat1.1_src/EChartsSipTest/lib/jain-sip-sdp-1.2.118.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/KitCAT_1.1-beta/lib/log4j-1.2.8.jar 2010/08/06 16:12:48 DEBUG - jorphan.reflect.ClassFinder: listPaths : /home/rroy/KitCAT_1.1-beta/lib/junit-4.4.jar 2010/08/06 16:12:49 DEBUG - jorphan.reflect.ClassFinder: isChildOf: NoClassDefFoundError: org/apache/tools/ant/Task 2010/08/06 16:12:49 DEBUG - jorphan.reflect.ClassFinder: isChildOf: NoClassDefFoundError: org/easymock/IArgumentMatcher 2010/08/06 16:12:49 DEBUG - jorphan.reflect.ClassFinder: isChildOf: NoClassDefFoundError: org/jmock/core/Constraint 2010/08/06 16:12:50 DEBUG - jorphan.reflect.ClassFinder: listClasses.size()=0 If you have JMeter source you can see that these messages emminate from src/jorphan/org/apache/jorphan/reflect/ClassFinder.java. The solution is to set "user.classpath" within jmeter.properties file (setting CLASSPATH env var will not do it! ...as explained elsewhere in the JMeter User Manual.) With the correct classpath set your debug output should now show something like this: 2010/08/06 16:13:10 DEBUG - jorphan.reflect.ClassFinder: listClasses.size()=1 2010/08/06 16:13:10 DEBUG - jorphan.reflect.ClassFinder: listClasses : system.RegressionTest -- View this message in context: http://jmeter.512774.n5.nabble.com/junit4-annotations-in-class-which-extends-tp2256746p2267072.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

