title: Jmeter JMS point to point to connect IBM MQ error ( java.lang.IllegalStateException: QueueConnectionFactory expected, but got com.ibm.mq.jms
body: <p>jmeter, jms point to point : error: <strong>Response message: java.lang.IllegalStateException: QueueConnectionFactory expected, but got com.ibm.mq.jms.MQConnectionFactory</strong></p>
  
  <p>config:<br>
  1. jmeter3.3<br>
  2. All the jars available in websphere mq 8.0 -installed folder are pasted in apache-jmeter-3.3\lib folder </p>
  
  <p><img src="https://i.stack.imgur.com/yTyhD.png" alt="MQ jars"></p>
  
  <ol start="3">
  <li>also added javax.jms-api-2.0.1 in apache-jmeter-3.3\lib folder  </li>
  <li>initial context factory setup in MQ Explorer</li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/JMIL5.png" alt="JNDI config"></p>
  
  <ol start="5">
  <li>jmeter config - </li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/G4ZKD.png" alt="jms point to point config">  </p>
  
  <ol start="6">
  <li>JDK 1.8  </li>
  <li>MQ explorer : Eclipse SDK v3.6.2  </li>
  </ol>
  
  <p>Followed all the steps as described in : <a href="https://stackoverflow.com/questions/46200688/jmeter-configuration-for-ibm-mq-8/46238776#46238776">JMeter configuration for IBM MQ 8</a></p>
  
  <p><a href="https://stackoverflow.com/questions/46340608/jmeter-3-2-point-to-point-configuration-for-ibm-mq-8-java-exception/46357907#46357907">JMeter 3.2 Point-to-Point configuration for IBM MQ 8 =&gt; Java Exception</a></p>