Error while testing "JMS Point-to-Point"

Deepak Goel <[email protected]> Fri, 21 Mar 2025 11:28:53 +0530
Newsgroups gmane.comp.jakarta.jmeter.user
Message-ID <CA+b7NVUxZrjt94Dc=nXKT5Jm-hw8JsoLzX27o-u7q+T_D+t0Fw@mail.gmail.com>
--0000000000009cf1ea0630d3f356
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello

*I have configured "JMS Point-to-Point" in JMeter as follows (have placed
the jar "activemq-all-6.1.6" in lib directory):*
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
-

*QueueConnectionFactory*: ConnectionFactory
-

*Request Queue*: TEST.REQUEST.Q (simulated request queue name)
-

*Response Queue*: TEST.RESPONSE.Q (simulated response queue name)
-

*Provider URL*: tcp://localhost:61616 (change to match your setup, e.g., a
locally running ActiveMQ broker)
-

*Initial Context Factory*:
org.apache.activemq.jndi.ActiveMQInitialContextFactory (commonly used for
ActiveMQ)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
-




*I am running "apache-activemq-6.1.6" on my local PC, and have configured
the following queues:*
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
-
-
-
Name <http://127.0.0.1:8161/admin/queues.jsp#> =E2=86=91Number Of Pending M=
essages
<http://127.0.0.1:8161/admin/queues.jsp#>  Number Of Consumers
<http://127.0.0.1:8161/admin/queues.jsp#>  Messages Enqueued
<http://127.0.0.1:8161/admin/queues.jsp#>  Messages Dequeued
<http://127.0.0.1:8161/admin/queues.jsp#>  Views
<http://127.0.0.1:8161/admin/queues.jsp#>  Operations
<http://127.0.0.1:8161/admin/queues.jsp#>
TEST.REQUEST.Q
<http://127.0.0.1:8161/admin/browse.jsp?JMSDestination=3DTEST.REQUEST.Q> 0 =
0 0
0 Browse
<http://127.0.0.1:8161/admin/browse.jsp?JMSDestination=3DTEST.REQUEST.Q> Ac=
tive
Consumers
<http://127.0.0.1:8161/admin/queueConsumers.jsp?JMSDestination=3DTEST.REQUE=
ST.Q>
Active Producers
<http://127.0.0.1:8161/admin/queueProducers.jsp?JMSDestination=3DTEST.REQUE=
ST.Q>
<http://127.0.0.1:8161/admin/queueBrowse/TEST.REQUEST.Q?view=3Drss&feedType=
=3Datom_1.0>

<http://127.0.0.1:8161/admin/queueBrowse/TEST.REQUEST.Q?view=3Drss&feedType=
=3Drss_2.0>
Send
To
<http://127.0.0.1:8161/admin/send.jsp?JMSDestination=3DTEST.REQUEST.Q&JMSDe=
stinationType=3Dqueue>
 Purge
<http://127.0.0.1:8161/admin/purgeDestination.action?JMSDestination=3DTEST.=
REQUEST.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165ba=
5d432cd>
 Delete
<http://127.0.0.1:8161/admin/deleteDestination.action?JMSDestination=3DTEST=
.REQUEST.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165b=
a5d432cd>
 Pause
<http://127.0.0.1:8161/admin/pauseDestination.action?JMSDestination=3DTEST.=
REQUEST.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165ba=
5d432cd>
TEST.RESPONSE.Q
<http://127.0.0.1:8161/admin/browse.jsp?JMSDestination=3DTEST.RESPONSE.Q> 0=
 0
0 0 Browse
<http://127.0.0.1:8161/admin/browse.jsp?JMSDestination=3DTEST.RESPONSE.Q> A=
ctive
Consumers
<http://127.0.0.1:8161/admin/queueConsumers.jsp?JMSDestination=3DTEST.RESPO=
NSE.Q>
Active Producers
<http://127.0.0.1:8161/admin/queueProducers.jsp?JMSDestination=3DTEST.RESPO=
NSE.Q>
<http://127.0.0.1:8161/admin/queueBrowse/TEST.RESPONSE.Q?view=3Drss&feedTyp=
e=3Datom_1.0>

<http://127.0.0.1:8161/admin/queueBrowse/TEST.RESPONSE.Q?view=3Drss&feedTyp=
e=3Drss_2.0>
Send
To
<http://127.0.0.1:8161/admin/send.jsp?JMSDestination=3DTEST.RESPONSE.Q&JMSD=
estinationType=3Dqueue>
 Purge
<http://127.0.0.1:8161/admin/purgeDestination.action?JMSDestination=3DTEST.=
RESPONSE.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165b=
a5d432cd>
 Delete
<http://127.0.0.1:8161/admin/deleteDestination.action?JMSDestination=3DTEST=
.RESPONSE.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165=
ba5d432cd>
 Pause
<http://127.0.0.1:8161/admin/pauseDestination.action?JMSDestination=3DTEST.=
RESPONSE.Q&JMSDestinationType=3Dqueue&secret=3D654d6d53-76c2-480a-a842-165b=
a5d432cd>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D

*I am getting the following error:*

Thread Name:Thread Group 1-1
Sample Start:2025-03-21 11:21:43 IST
Load time:0
Connect Time:0
Latency:0
Size in bytes:0
Sent bytes:0
Headers size in bytes:0
Body size in bytes:0
Sample Count:1
Error Count:1
Data type ("text"|"bin"|""):text
Response code:
Response message:java.lang.IllegalStateException: QueueConnectionFactory
expected, but got org.apache.activemq.ActiveMQConnectionFactory


SampleResult fields:
ContentType:
DataEncoding: null

*Can you please help?*

Deepak
"The greatness of a nation can be judged by the way its animals are treated
- Mahatma Gandhi"

+91 73500 12833
[email protected]

LinkedIn: www.linkedin.com/in/deicool

"Plant a Tree, Go Green"

Make In India : http://www.makeinindia.com/home

--0000000000009cf1ea0630d3f356--