jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Help on Test EJB server with Java Request
Date Wed, 17 Mar 2010 11:05:02 GMT
On 17/03/2010, sandy320 <sandy320@sohu.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message