Hi!

First thank you for your hint!

It works fine for older versions of ActiveMQ (4.0), but
I could not figure out how to use it for ActiveMQ 5.2.0.

Has anyone found out how to use JMeter with AMQ 5.2.0?
(I tried out each downloadable version of AMQ JMeter
but none of them really worked - I downloaded them at:
http://people.apache.org/repository/incubator-activemq/distributions/ )


I followed the tutorial at:
http://activemq.apache.org/jmeter-performance-tests.html

The ERROR MESSAGE I get:

Exception in thread "ActiveMQ Transport:
tcp://localhost/127.0.0.1:61616" java.lang.IllegalArgumentException:
Invalid version: 3, could not load
org.apache.activemq.openwire.v3.MarshallerFactory
        at
org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.ja
va:329)
        at
org.apache.activemq.openwire.OpenWireFormat.renegotiateWireFormat(OpenWi
reFormat.java:569)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatN
egotiator.java:103)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMoni
tor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSuppor
t.java:87)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:127
)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
org.apache.activemq.openwire.v3.MarshallerFactory
        at
org.apache.activemq.util.ClassLoading.loadClass(ClassLoading.java:104)
        at
org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.ja
va:327)
        ... 6 more

--> ActiveMQ 5.2.0 is up and running at localhost:61616, I can connect
when
I use my self written Java-app.

I'm using:
-JMeter 4.1 SNAPSHOT
-ActiveMQ 5.2.0
-Java 6u13
-Windows XP

(All system variables are set and valid)

Can anyone please help me?

Regards,
Chrissi
-----OLD MESSAGE-----
Von: Andre Arnold [mailto:[email protected]] 
Gesendet: Dienstag, 21. Juli 2009 07:19
An: JMeter Users List
Betreff: Re: Problem using JMeter with ActiveMQ

Walter Christiane schrieb:
> Hi!
>
> I'm new to JMeter and I need to load-test Apache ServiceMix via JMS.
>
> So I followed the JMS tutorial
>
(http://jakarta.apache.org/jmeter/usermanual/build-jms-point-to-point-te
> st-plan.html
>
<https://owa.fh-joanneum.at/exchweb/bin/redir.asp?URL=http://jakarta.apa
> che.org/jmeter/usermanual/build-jms-point-to-point-test-plan.html> )
> to send test messages via ActiveMQ to ServiceMix, but without success.
>
> It seems that the test-queue isn't created, even though the connection
> settings are valid (it works,
> when I connect to the queue manually via a self written JUnit Test
where
> I used the same connection
> parameters). The ActiveMQ monitoring tool didn't at least display the
> new queue.
>
>
> Also ServiceMix didn't receive a single message... :(
>
> Has anyone found another useful JMS tutorial, or can help me?
>
> Thank you for your help!
>
> Regards,
> Chrissi
>
>
>   
Do you know there is a specal distribution by ActiveMQ with their own
samplers.
( http://activemq.apache.org/jmeter-performance-tests.html )
Maybe these fit better in connecting to ActiveMQ's Qs :). (there must be
a reason they don't use the usual JMS Sampler)

---------------------------------------------------------------------
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]

Reply via email to