Hi,

I want to run a JUnit-Test from Jmeter. During the test setup() should be called exactly once (to open a Corba connection), then the individual tests should be all run and then the connection be closed.

The JUnit way to do this is use TestSetup (http://junit.sourceforge.net/javadoc/junit/extensions/TestSetup.html) to wrap the actual test.

Unfortunately, JMeter does not cope with TestSetup as it assumes that the given unittest class is the test to run (Jmeter gets the test with the code cited below).

Has anybody ever gotten to run a Unittest scenario like I described?

Thanks,
Juergen

public Method getMethod(Object clazz, String method){
       if (clazz != null && method != null){
           // log.info("class " + clazz.getClass().getName() +
           //        " method name is " + method);
           try {
               return clazz.getClass().getMethod(method,new Class[0]);
           } catch (NoSuchMethodException e) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to