You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Raghuvir Kamath <ra...@gmail.com> on 2009/03/04 03:54:41 UTC

Re: Using JMS point to point sampler

> Hi,
>     I am using Jmeter to Load test a JMS Application.I would want to pump a
> Message to a Queue.I am using Sun GlassfIsh App Server.
>
> So had used "JMS Point to Point Sampler" in Jmeter.Had placed the
> "javax.jms.jar" file in the lib directory.
>
> In configuring the sampler, came across 2 fields such as
>
> a) QueueConnection Factory  b) Initial Context Factory.
>
> Had Set values such as QueueConnection Factory =
> javax.jms.QueueConnectionFactory
>                                             Initial Context Factory =
> javax.naming.Context.INITIAL_CONTEXT_FACTORY
>
> When I  "Run" the application, it gives a "Class Not Found Exception" for
> javax.naming.Context.INITIAL_CONTEXT_FACTORY.
>
> Can someone guide me through this to solve this as issue as  I am new to
> this area.
>
> Thanks in Advance,
>
> Regards,
> Raghuvir
>
>
>
>

Re: Using JMS point to point sampler

Posted by sebb <se...@gmail.com>.
On 04/03/2009, Raghuvir Kamath <ra...@gmail.com> wrote:
> > Hi,
>  >     I am using Jmeter to Load test a JMS Application.I would want to pump a
>  > Message to a Queue.I am using Sun GlassfIsh App Server.
>  >
>  > So had used "JMS Point to Point Sampler" in Jmeter.Had placed the
>  > "javax.jms.jar" file in the lib directory.
>  >

Which JMS jar is that?

>  > In configuring the sampler, came across 2 fields such as
>  >
>  > a) QueueConnection Factory  b) Initial Context Factory.
>  >
>  > Had Set values such as QueueConnection Factory =
>  > javax.jms.QueueConnectionFactory
>  >                                             Initial Context Factory =
>  > javax.naming.Context.INITIAL_CONTEXT_FACTORY
>  >
>  > When I  "Run" the application, it gives a "Class Not Found Exception" for
>  > javax.naming.Context.INITIAL_CONTEXT_FACTORY.
>  >
>  > Can someone guide me through this to solve this as issue as  I am new to
>  > this area.

You need to set the Factories to the actual names that your JMS client
jar uses - please check the documentation that comes with the JMS jar,
as it will vary between providers.

See the Parameters section here:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JMS_Point-to-Point

>  > Thanks in Advance,
>  >
>  > Regards,
>  > Raghuvir
>  >
>  >
>  >
>  >
>

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