On 17/03/2010, sandy320 <[email protected]> wrote: > > There are some problem when I tried to test an EJB server with JMeter. The > EJB container is Jboss. > > The scenario is : > > 1. write a Class extends AbstractJavaSamplerClient, and override the > runTest() method. In the method, I lookup the EJB bean. Put the jar to > %jmeter_home%/lib/ext > > 2. Put the EJB business related jar to %jmeter_home%/lib/ext > > 3. Put the jnp-client.jar to %jmeter_home%/lib/ext
The jars should really be put in %jmeter_home%/lib but that won't be the cause. > 4. Run the Test in JMeter Java Request > > The issue is that the Object which I lookup in runTest() is null. You'll need to add debug to you code to find out what is going wrong. > ps. I could get the instance of this Object in main() without JMeter > > Please help,thx > > -- > View this message in context: > http://old.nabble.com/Help-on-Test-EJB-server-with-Java-Request-tp27927988p27927988.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

